public function testIncSets() { $variable = new Variable('a', null, CompiledExpression::UNKNOWN); static::assertSame(0, $variable->getSets()); $variable->incSets(); static::assertSame(1, $variable->getSets()); $variable->incSets(); static::assertSame(2, $variable->getSets()); $variable->incSets(); $variable->incSets(); static::assertSame(4, $variable->getSets()); }