Class EqualsVerifierStepdefs

java.lang.Object
de.monochromata.cucumber.stepdefs.EqualsVerifierStepdefs

public class EqualsVerifierStepdefs
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    EqualsVerifierStepdefs()  
  • Method Summary

    Modifier and Type Method Description
    void correct​(java.lang.String className)  
    void correctAndAddsState​(java.lang.String className)
    See http://jqno.nl/equalsverifier/errormessages/symmetry-does-not-equal-superclass-instance/

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EqualsVerifierStepdefs

      public EqualsVerifierStepdefs()
  • Method Details

    • correct

      @Given("{word} has correct hashcode and equals methods") public void correct​(java.lang.String className) throws java.lang.ClassNotFoundException
      Throws:
      java.lang.ClassNotFoundException
    • correctAndAddsState

      @Given("{word} adds state to the super-class and has correct hashcode and equals methods") public void correctAndAddsState​(java.lang.String className) throws java.lang.ClassNotFoundException
      See http://jqno.nl/equalsverifier/errormessages/symmetry-does-not-equal-superclass-instance/
      Throws:
      java.lang.ClassNotFoundException