public function remove(Structure $structure) { return $this->storage->remove($structure); }
/** * @param gries\MControl\Storage\Structure\StructureStorageInterface $storage * @param gries\MControl\Builder\Structure $structure */ function it_should_remove_a_structure_to_the_storage(StructureStorageInterface $storage, Structure $structure) { $storage->remove($structure)->shouldBeCalled(); $this->beConstructedWith($storage); $this->remove($structure); }