@Test
public void testAnonymizeInvalid() throws Exception {

	Assert.assertNull(IPAnonymizationUtils.anonymize("java.sun.com"));
	Assert.assertNull(IPAnonymizationUtils.anonymize("foo.java.sun.com"));
	Assert.assertNull(IPAnonymizationUtils.anonymize("foo:bar"));
	Assert.assertNull(IPAnonymizationUtils.anonymize("foo:bar:baz:foo:bar:baz:foo:bar"));
	Assert.assertNull(IPAnonymizationUtils.anonymize("foo.bar"));
	Assert.assertNull(IPAnonymizationUtils.anonymize("foobar"));
}