Activity
176177178179180181182183184185186
"state one" ); assertSame( NoOpActivity.INSTANCE, state1.getActivity() ); Activity newActivity = new NoOpActivity(); state1.setActivity( newActivity ); assertSame( newActivity, state1.getActivity() );
232233234235236237238239240241
State state = new State.TerminalState(); assertSame( NoOpActivity.INSTANCE, state.getActivity() ); state.setActivity( new NoOpActivity() ); assertSame( NoOpActivity.INSTANCE, state.getActivity() ); }