@Test public void isPrimitive_A$String_StringIsNull() throws Exception { ClassMeta classMeta = null; AvailableTypeDetector target = new AvailableTypeDetector(classMeta); String typeName = null; boolean actual = target.isPrimitive(typeName); boolean expected = false; assertThat(actual, is(equalTo(expected))); }
public boolean isPrimitive(String typeName) { return typeName != null && PrimitiveTypeUtil.isPrimitive(typeName); }
AvailableTypeDetector { public boolean isPrimitive(String typeName) { return typeName != null && PrimitiveTypeUtil.isPrimitive(typeName); } }
AvailableTypeDetector { public boolean isPrimitive(String typeName) { return typeName != null && PrimitiveTypeUtil.isPrimitive(typeName); } AvailableTypeDetector(ClassMeta classMeta); }
AvailableTypeDetector { public boolean isPrimitive(String typeName) { return typeName != null && PrimitiveTypeUtil.isPrimitive(typeName); } AvailableTypeDetector(ClassMeta classMeta); boolean isPrimitive(String typeName); boolean isArray(String typeName); boolean isJavaLangPackageType(String typeName); boolean isAvailableType(String typeName, Configuration config); boolean isJMockitMockableType(String typeName); }
AvailableTypeDetector { public boolean isPrimitive(String typeName) { return typeName != null && PrimitiveTypeUtil.isPrimitive(typeName); } AvailableTypeDetector(ClassMeta classMeta); boolean isPrimitive(String typeName); boolean isArray(String typeName); boolean isJavaLangPackageType(String typeName); boolean isAvailableType(String typeName, Configuration config); boolean isJMockitMockableType(String typeName);  }