@@ -0,0 +1,883 @@
+package com.sendgrid;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.FileReader;%0Aimport java.io.IOException;%0Aimport java.util.Calendar;%0A%0Apublic class LicenseTest %7B%0A%0A    @Test%0A    public void testLicenseShouldHaveCorrectYear() throws IOException %7B%0A        String copyrightText = null;%0A        try (BufferedReader br = new BufferedReader(new FileReader(%22./LICENSE.md%22))) %7B%0A            for (String line; (line = br.readLine()) != null; ) %7B%0A                if (line.startsWith(%22Copyright%22)) %7B%0A                    copyrightText = line;%0A                    break;%0A                %7D%0A            %7D%0A        %7D%0A        String expectedCopyright = String.format(%22Copyright (c) 2016-%25d SendGrid, Inc.%22, Calendar.getInstance().get(Calendar.YEAR));%0A        Assert.assertEquals(%22License has incorrect year%22, copyrightText, expectedCopyright);%0A    %7D%0A%7D%0A

Test to check year in license file