public function testEndsWith() { self::assertTrue(StringType::endsWith('foo', 'oo')); self::assertTrue(StringType::endsWith('foo', 'foo')); self::assertFalse(StringType::endsWith('foo', 'f')); self::assertFalse(StringType::endsWith('f', 'foo')); }