@Test
public void testLicenseNameWithTextEquals() {

    // @formatter:off
    Assert.assertTrue(LicenseNameWithTextUtils.licenseNameWithTextEquals(
            createLicense(null, null, null), createLicense(null, null, null)));
    Assert.assertTrue(LicenseNameWithTextUtils.licenseNameWithTextEquals(
            createLicense(" ", "", "\t"), createLicense(null, null, null)));
    Assert.assertTrue(LicenseNameWithTextUtils.licenseNameWithTextEquals(
            createLicense("name", "  ", null), createLicense("name", null, null)));
    Assert.assertTrue(LicenseNameWithTextUtils.licenseNameWithTextEquals(
            createLicense(null, "text", "\n"), createLicense(null, "text", null)));
    Assert.assertTrue(LicenseNameWithTextUtils.licenseNameWithTextEquals(
            createLicense(null, null, "ack"), createLicense(null, null, "ack")));
    Assert.assertFalse(LicenseNameWithTextUtils.licenseNameWithTextEquals(
            createLicense(null, null, null), createLicense("name", null, null)));
    Assert.assertFalse(LicenseNameWithTextUtils.licenseNameWithTextEquals(
            createLicense(null, null, null), createLicense(null, "text", null)));
    Assert.assertFalse(LicenseNameWithTextUtils.licenseNameWithTextEquals(
            createLicense(null, null, null), createLicense(null, null, "ack")));
 // @formatter:on
}