@Test public void shouldBeEqualToEqualTemperatureAsObject() { assertTrue(temperature.equals((Object) (new Temperature(786)))); }
@Test public void shouldNotBeEqualToNull() { assertFalse(temperature.equals(null)); }
@Test public void shouldNotBeEqualToWeirdThing() { assertFalse(temperature.equals((Object) (new String("hello")))); }
@Test public void shouldNotBeEqualToUnEqualTemperature() { assertFalse(temperature.equals(new Temperature(785))); }