trait->setLimitValue($value, 1); $this->assertEquals(1, $this->trait->getLimitValue($value)); } } /** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @return void */ protected function setUp() { $this->trait = $this->getMockForTrait(LimitAwareTrait::class); } }