tests/ContainerTest.php
/**
     * Test invalid IDs on the has method.
     * @param mixed $id The invalid ID.
     * @dataProvider invalidIds
     * @expectedException \InvalidArgumentException
     */
Test invalid IDs on the has method.
@param mixed $id The invalid ID.
@dataProvider invalidIds
@expectedException \InvalidArgumentException
Test invalid IDs on the has method . @param mixed $id The invalid ID . @dataProvider invalidIds @expectedException \ InvalidArgumentException
public function testInvalidIdsOnHas($id)
    {
        $container = new Container();
        $container->has($id);
    }
public function testInvalidIdsOnHas ( $ id ) { $ container = new Container ( ) ; $ container -> has ( $ id ) ; }
Test invalid IDs on the has method.
Test invalid IDs on the has method .