ensureThat(new Float(1.0), matchesFloatValue);
ensureThat(new Double(1.0), matchesFloatValue);
}
public void shouldCreateMatcherForPrimitiveIntegerTypes() throws Exception {
Matcher matchesIntTypeValue = m.eq(1);
ensureThat(new Byte((byte)1), matchesIntTypeValue);
ensureThat(new Short((short)1), matchesIntTypeValue);
ensureThat(new Integer(1), matchesIntTypeValue);
ensureThat(new Long((long)1), matchesIntTypeValue);
}