public function testShouldAddRulesByPassingThroughConstructor()
{
$simpleRuleMock = $this->createMock(Validatable::class);
$anotherSimpleRuleMock = $this->createMock(Validatable::class);
$compositeRuleMock = $this->getMockForAbstractClass(AbstractComposite::class, [$simpleRuleMock, $anotherSimpleRuleMock]);
$this->assertCount(2, $compositeRuleMock->getRules());
}