@Test public void testGetByModeWithNull() { CowFace result = CowFace.getByMode(null); Assert.assertNull(result); }
protected static CowFace getByMode(final String mode) { if (mode != null) { return COW_MODES.get(mode); } return null; }
CowFace { protected static CowFace getByMode(final String mode) { if (mode != null) { return COW_MODES.get(mode); } return null; } }
CowFace { protected static CowFace getByMode(final String mode) { if (mode != null) { return COW_MODES.get(mode); } return null; } CowFace(); private  CowFace(final String eyes); private  CowFace(final String eyes, final String tongue); }
CowFace { protected static CowFace getByMode(final String mode) { if (mode != null) { return COW_MODES.get(mode); } return null; } CowFace(); private  CowFace(final String eyes); private  CowFace(final String eyes, final String tongue); String getEyes(); String getTongue(); final void setEyes(final String eyes); final void setTongue(final String tongue); static final boolean isKnownMode(final String mode); }
CowFace { protected static CowFace getByMode(final String mode) { if (mode != null) { return COW_MODES.get(mode); } return null; } CowFace(); private  CowFace(final String eyes); private  CowFace(final String eyes, final String tongue); String getEyes(); String getTongue(); final void setEyes(final String eyes); final void setTongue(final String tongue); static final boolean isKnownMode(final String mode);  }