function it_creates_node_on_get_and_keep_it() { $this->get('B')->shouldReturnAnInstanceOf('Alterway\\Component\\Workflow\\Node'); $this->has('B')->shouldReturn(true); }