public void testNoFacetIfPropertyTypeIsNotBigDecimal() throws Exception { final Class<?> cls = SimpleObjectWithBigDecimalColumnAnnotations.class; final Method method = cls.getMethod("getStringPropertyWithColumnAnnotation"); facetFactory.process(new FacetFactory.ProcessMethodContext(cls, null, null, method, methodRemover, facetedMethod)); final Facet facet = facetedMethod.getFacet(BigDecimalValueFacet.class); assertNull(facet); }
public void testNoFacetIfPropertyTypeIsNotBigDecimal() throws Exception { final Class<?> cls = SimpleObjectWithBigDecimalColumnAnnotations.class; final Method method = cls.getMethod("getStringPropertyWithColumnAnnotation"); facetFactory.process(new FacetFactory.ProcessMethodContext(cls, null, null, method, methodRemover, facetedMethod)); final Facet facet = facetedMethod.getFacet(BigDecimalValueFacet.class); assertNull(facet); }
public void testNoFacetIfPropertyTypeIsNotBigDecimal() throws Exception { final Class<?> cls = SimpleObjectWithBigDecimalColumnAnnotations.class; final Method method = cls.getMethod("getStringPropertyWithColumnAnnotation"); facetFactory.process(new FacetFactory.ProcessMethodContext(cls, null, method, methodRemover, facetedMethod)); final Facet facet = facetedMethod.getFacet(BigDecimalValueFacet.class); assertNull(facet); }
public void testNoFacetIfPropertyTypeIsNotBigDecimal() throws Exception { final Class<?> cls = SimpleObjectWithBigDecimalColumnAnnotations.class; final Method method = cls.getMethod("getStringPropertyWithColumnAnnotation"); facetFactory.process(new FacetFactory.ProcessMethodContext(cls, null, null, method, methodRemover, facetedMethod)); final Facet facet = facetedMethod.getFacet(BigDecimalValueFacet.class); assertNull(facet); }