Skip to content

Instantly share code, notes, and snippets.

@margareteldridge
Last active December 2, 2021 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save margareteldridge/c4b540c931c071a631b1c211194df245 to your computer and use it in GitHub Desktop.
Save margareteldridge/c4b540c931c071a631b1c211194df245 to your computer and use it in GitHub Desktop.
@Test
public void testAvailability() {
theTrialHolding.checkOut(TODAY);
assertFalse(theTrialHolding.isAvailable());
theTrialHolding.checkIn(TOMORROW, BranchTestData.ROCKRIMMON_BRANCH);
assertTrue(theTrialHolding.isAvailable());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment