AuthorBooks\Tests\BookModelTest::testTypeConstraint PHP Метод

testTypeConstraint() публичный Метод

public testTypeConstraint ( )
    public function testTypeConstraint()
    {
        $book = new Book();
        $ret = $book->create(array('title' => 'Programming Perl', 'subtitle' => 'Way Way to Roman', 'view' => '""'));
        $this->assertResultSuccess($ret);
    }