function it_throws_exception_when_class_is_not_TuTu_extension() { $this->shouldThrow(new \InvalidArgumentException("Class \"stdClass\" should be an instance of Coduo\\TuTu\\Extension"))->during('initialize', ['stdClass']); }