public function testNumberOfIterationsGetterSetterWithGoodData() { $expected = 15; FrontendMockBuilder::setNumberOfIterations($expected); $this->ninja->assertEquals($expected, FrontendMockBuilder::getNumberOfIterations()); }
public function testMockBuilderOnMagicGetMethod_ExpectsForeachTo() { $this->ninja->amGoingTo('See if __get() created a good mock object with a valid message'); $child = $this->mockModel->foo(); $this->assertEquals(self::MESSAGE, (string) $child); }