Class BagTest

java.lang.Object
nl.knaw.dans.bagit.domain.BagTest

public class BagTest extends Object
  • Constructor Details

    • BagTest

      public BagTest()
  • Method Details

    • testToString

      @Test public void testToString() throws MalformedURLException
      Throws:
      MalformedURLException
    • testHashCodeAreSameForNewBags

      @Test public void testHashCodeAreSameForNewBags()
    • testEqualsShouldReturnTrueWhenBothAreNew

      @Test public void testEqualsShouldReturnTrueWhenBothAreNew()
    • testEqualsShouldReturnTrueWhenUsingConstructor

      @Test public void testEqualsShouldReturnTrueWhenUsingConstructor()
    • testEqualsShouldReturnTrueWhenSameObject

      @Test public void testEqualsShouldReturnTrueWhenSameObject()
    • testEqualsShouldReturnFalseWhenNull

      @Test public void testEqualsShouldReturnFalseWhenNull()
    • testEqualsShouldReturnFalseWhenNotABag

      @Test public void testEqualsShouldReturnFalseWhenNotABag()