Class ChangeStateSideEffect

  • All Implemented Interfaces:
    org.hamcrest.SelfDescribing, SideEffect

    public class ChangeStateSideEffect
    extends java.lang.Object
    implements SideEffect
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private State state  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void describeTo​(org.hamcrest.Description description)  
      void perform()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • state

        private final State state
    • Constructor Detail

      • ChangeStateSideEffect

        public ChangeStateSideEffect​(State state)
    • Method Detail

      • describeTo

        public void describeTo​(org.hamcrest.Description description)
        Specified by:
        describeTo in interface org.hamcrest.SelfDescribing