@Test public void hasTypeNullTest() { EntityId entityId = new EntityId(); assertFalse(new Patterns().hasType(entityId)); }
public boolean hasType(final EntityId entityId) { final String type = entityId.getType(); return type != null && !"".equals(type); }
Patterns { public boolean hasType(final EntityId entityId) { final String type = entityId.getType(); return type != null && !"".equals(type); } }
Patterns { public boolean hasType(final EntityId entityId) { final String type = entityId.getType(); return type != null && !"".equals(type); }  }
Patterns { public boolean hasType(final EntityId entityId) { final String type = entityId.getType(); return type != null && !"".equals(type); }  Pattern getPattern(final EntityId entityId); boolean hasType(final EntityId entityId); Predicate<EntityId> getFilterEntityId(EntityId searchEntityId); }
Patterns { public boolean hasType(final EntityId entityId) { final String type = entityId.getType(); return type != null && !"".equals(type); }  Pattern getPattern(final EntityId entityId); boolean hasType(final EntityId entityId); Predicate<EntityId> getFilterEntityId(EntityId searchEntityId);  }