public function test_Should_GetSatisfyingElements_When_DeploymentsDoNotExists() { $date = new DateTime(); $spec = new OldDeploymentSpecification($date); $deployments = collect([]); $this->mockProjectModel->shouldReceive('getDeployments')->once()->andReturn($deployments); $oldDeployments = $spec->satisfyingElementsFrom($this->mockProjectModel); $this->assertEmpty($oldDeployments); }