public function testDuplicateIfMarkedDuplicate() { $type = new BindingTypeDescriptor('vendor/type'); $type->load($this->package); $type->markDuplicate(true); $this->assertSame(BindingTypeState::DUPLICATE, $type->getState()); }