function it_assembles_the_context_when_applied(AssemblerInterface $assembler, ContextInterface $context) { $assembler->assemble($context)->shouldBeCalled(); $this->apply($context); }
/** * @param ContextInterface $context */ public function apply(ContextInterface $context) { $this->assembler->assemble($context); }