/** * @test */ public function shouldHaveStatementsOnConstructionWithCoverage() { $object = new Metrics($this->coverage); $this->assertTrue($object->hasStatements()); $this->assertSame(3, $object->getStatements()); }