find() public static method

public static find ( $type, array $options = [] )
$options array
Beispiel #1
0
 public function testSimpleFindList()
 {
     $result = MockComment::find('list');
     $this->assertNotEmpty($result);
     $this->assertInternalType('array', $result);
 }
 public function testSimpleFindList()
 {
     $result = MockComment::find('list');
     $this->assertTrue(!empty($result));
     $this->assertTrue(is_array($result));
 }