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