code: @Then("^the LDAP entry contains the attribute '(.+?)' with the value '(.+?)'$")
      public void ldapEntryContains(String attributeName, String expectedValue) {
          if (this.commonspec.getPreviousLdapResults().isPresent()) {
              Assertions.assertThat(this.commonspec.getPreviousLdapResults().get().getEntry().getAttribute(attributeName).getStringValues()).contains(expectedValue);
          } else {
              fail("No previous LDAP results were stored in memory");
          }
      }
docs: Checks if the previous LDAP search contained a single Entry with a specific attribute and an expected value
  
  @param attributeName The name of the attribute to look for in the LdapEntry
  @param expectedValue The expected value of the attribute