@Test
  public void shouldDeleteResourceSetToken() throws Exception {

    // Given
    ResourceSetDescription resourceSetDescription =
        new ResourceSetDescription(
            "RESOURCE_SET_ID",
            "CLIENT_ID",
            "RESOURCE_OWNER_ID",
            Collections.<String, Object>emptyMap());

    resourceSetDescription.setRealm("REALM");

    given(
            dataStore.query(
                QueryFilter.and(
                    QueryFilter.equalTo(ResourceSetTokenField.RESOURCE_SET_ID, "RESOURCE_SET_ID"),
                    QueryFilter.equalTo(ResourceSetTokenField.REALM, "REALM"))))
        .willReturn(Collections.singleton(resourceSetDescription));

    // When
    store.delete("RESOURCE_SET_ID", "RESOURCE_OWNER_ID");

    // Then
    verify(dataStore).delete("RESOURCE_SET_ID");
  }
  @Test(expectedExceptions = NotFoundException.class)
  public void shouldNotDeleteResourceSetTokenIfResourceSetNotFound() throws Exception {

    // Given

    // When
    store.delete("RESOURCE_SET_ID", "RESOURCE_OWNER_ID");

    // Then
    // Excepted NotFoundException
  }