public function testStaticCreateMethod() { ModelStub::setClient(new ClientStub()); $params = ['name' => 'John Doe']; $model = ModelStub::create($params); $this->assertEquals($params, $model->getAttributes()); }