public function canAssemble(ContextInterface $context);
function it_can_not_apply_if_it_can_not_assemble(AssemblerInterface $assembler, ContextInterface $context) { $assembler->canAssemble($context)->willReturn(false); $this->appliesToContext($context)->shouldBe(false); }