@Test(expected = NullPointerException.class) public void throwsNullPointerExceptionWhenMapperFromIntegerToFloatPassedNull() { fromIntegerToFloat().map(null); }
public static Mapper<Integer, Float> fromIntegerToFloat() { return new Mapper<Integer, Float>() { @Override public Float map(Integer input) { return input.floatValue(); } }; }
Floats { public static Mapper<Integer, Float> fromIntegerToFloat() { return new Mapper<Integer, Float>() { @Override public Float map(Integer input) { return input.floatValue(); } }; } }
Floats { public static Mapper<Integer, Float> fromIntegerToFloat() { return new Mapper<Integer, Float>() { @Override public Float map(Integer input) { return input.floatValue(); } }; }  }
Floats { public static Mapper<Integer, Float> fromIntegerToFloat() { return new Mapper<Integer, Float>() { @Override public Float map(Integer input) { return input.floatValue(); } }; }  static Mapper<String, Float> fromStringToFloat(); static Mapper<Integer, Float> fromIntegerToFloat(); static Mapper<Long, Float> fromLongToFloat(); static Mapper<BigInteger, Float> fromBigIntegerToFloat(); static Mapper<Double, Float> fromDoubleToFloat(); static Mapper<BigDecimal, Float> fromBigDecimalToFloat(); }
Floats { public static Mapper<Integer, Float> fromIntegerToFloat() { return new Mapper<Integer, Float>() { @Override public Float map(Integer input) { return input.floatValue(); } }; }  static Mapper<String, Float> fromStringToFloat(); static Mapper<Integer, Float> fromIntegerToFloat(); static Mapper<Long, Float> fromLongToFloat(); static Mapper<BigInteger, Float> fromBigIntegerToFloat(); static Mapper<Double, Float> fromDoubleToFloat(); static Mapper<BigDecimal, Float> fromBigDecimalToFloat();  }