AssertionUtils { public static void assertPolicyId(String policyId) { if (!StringUtils.hasText(policyId)) { throw new PolicyIdNotFoundException("Policy ID must have a text!"); } }  static void assertNotExistsInPolicyRepository(
			List<PolicyDto> policyDtos,
			Function<String, Policy> policyFindFunction); static void assertNotExistsInPolicyRepository(String policyId,
			Function<String, Policy> policyFindFunction); static void assertPoliciesNotEmpty(final List<Policy> policies,
			final String policyId, final String wildcard); static void assertPolicyId(String policyId); static void assertPolicyIdConsistency(String requestPolicyId,
			final String policyContentPolicyId); static void assertPolicyNotNull(final Policy policy,
			final String policyId); static void assertUniqueIds(List<PolicyDto> policyDtos);  }
@Test public void testAssertPolicyId() { final String policyId = "policyId"; AssertionUtils.assertPolicyId(policyId); }
@Test public void testAssertPolicyId_Empty_String_Throws_PolicyIdNotFoundException() { thrown.expect(PolicyIdNotFoundException.class); final String policyId = ""; AssertionUtils.assertPolicyId(policyId); }
@Test public void testAssertPolicyId_Null_Throws_PolicyIdNotFoundException() { thrown.expect(PolicyIdNotFoundException.class); final String policyId = null; AssertionUtils.assertPolicyId(policyId); }