" state', inject(function($breadcrumb) {         goToStateAndFlush('room');         var statesChain = $breadcrumb.getStatesChain();          expect(stringifyStateChain(statesChain)).toBe('home --> sample --> room');          var lastStep = $breadcrumb.getLastStep();         expect(lastStep.name).toBe('room');     }));      it('generate four steps for the "room.detail" state', inject(function($breadcrumb) {         goToStateAndFlush('room.detail', {roomId: 0});         var statesChain = $breadcrumb.getStatesChain();          expect(stringifyStateChain(statesChain)).toBe('home --> sample --> room --> room.detail');          var lastStep = $breadcrumb.getLastStep();         expect(lastStep.name).toBe('room