示例#1
0
 /**
  * @covers ::getIds
  */
 public function testGetIds()
 {
     $models = new Models([new Model(['id' => 10, 'name' => 'test1']), new Model(['id' => 20, 'name' => 'test2'])]);
     $expected = [10, 20];
     $this->assertSame($expected, $models->getIds());
 }