public function convertShouldConvertFloatToInteger() { $converter = new IntegerConverter(); $this->assertSame(42, $converter->convert(42)); $this->assertSame(42, $converter->convert(42.69)); }