Class FetchItemTest

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

public class FetchItemTest extends Object
  • Field Details

    • url

      private static URL url
  • Constructor Details

    • FetchItemTest

      public FetchItemTest()
  • Method Details

    • setup

      @BeforeAll public static void setup() throws MalformedURLException
      Throws:
      MalformedURLException
    • testToString

      @Test public void testToString()
    • testHashCodeReturnsSameValueForEqualObjects

      @Test public void testHashCodeReturnsSameValueForEqualObjects()
    • testHashCodeReturnsDifferentValueForDifferentObjects

      @Test public void testHashCodeReturnsDifferentValueForDifferentObjects()
    • testEqualsReturnsTrueWhenSameObject

      @Test public void testEqualsReturnsTrueWhenSameObject()
    • testEqualsReturnsFalseWhenNull

      @Test public void testEqualsReturnsFalseWhenNull()
    • testEqualsReturnsFalseWhenDifferentTypes

      @Test public void testEqualsReturnsFalseWhenDifferentTypes()
    • testEqualsReturnsTrueWhenSameValues

      @Test public void testEqualsReturnsTrueWhenSameValues()
    • testEqualsReturnsFalseWhenDifferentValues

      @Test public void testEqualsReturnsFalseWhenDifferentValues()