Ejemplo n.º 1
0
 public function testプロジェクトを削除できること()
 {
     $project = new Project(['id' => 1234, 'archived' => false, 'body' => 'test', 'name' => 'test', 'tags' => [['name' => 'test', 'versions' => ['0.0.1']]]]);
     $this->apiMock->shouldReceive('deleteProjectsProjectId')->andReturn(true);
     $result = $project->delete();
     $this->assertTrue($result, 'プロジェクトが削除できなかった');
 }