@Test
public void rejectsNonBigDecimalInputTest() {

    Double notABigBecimal = 1.0;
    exception.expect(UnsupportedOperationException.class);
    exception.expectMessage("BigDecimalExactClassTransformer cannot transform objects of type java.lang.Double");
    bdt.transform(notABigBecimal);
}