register( $container ); $stopwatch_a = $container['stopwatch']; $stopwatch_b = $container['stopwatch']; $this->assertNotSame( $stopwatch_a, $stopwatch_b ); $this->assertArrayHasKey( 'records', $container ); $container->extend( 'collectors', function () {} ); $provider->boot( $container ); $this->expectException( FrozenServiceException::class ); $container->extend( 'collectors', function () {} ); } }