SequenceItem implements MaterialTapTargetPrompt.PromptStateChangeListener { @NonNull public SequenceState getState() { return this.sequenceState; } SequenceItem(@NonNull final SequenceState state); void addStateChanger(final int state); void removeStateChanger(final int state); void clearStateChangers(); void setSequenceListener(@Nullable final MaterialTapTargetSequence.SequenceCompleteListener listener); @NonNull SequenceState getState(); void show(); void finish(); void dismiss(); @Override void onPromptStateChanged(@NonNull final MaterialTapTargetPrompt prompt, final int state);  }
@Test public void testConstructor() { final MaterialTapTargetPrompt prompt = UnitTestUtils.createPromptOptions() .setTarget(32, 43) .setPrimaryText("Test") .create(); assertNotNull(prompt); final SequenceState state = new SequenceState(prompt); final SequenceItem sequenceItem = new SequenceItem(state); assertEquals(state, sequenceItem.getState()); }