@Test(groups = {"unit"})

public void generatePathAtDBLevel() {
    RxDocumentServiceRequest rxDocumentServiceRequest = RxDocumentServiceRequest.create(OperationType.Read, ResourceType.DatabaseAccount);
    String path = PathsHelper.generatePath(ResourceType.DatabaseAccount, rxDocumentServiceRequest, rxDocumentServiceRequest.isFeed);
    assertThat(path).isEqualTo(Paths.DATABASE_ACCOUNT_PATH_SEGMENT + "/");
    rxDocumentServiceRequest = RxDocumentServiceRequest.create(OperationType.Create, ResourceType.Database);
    path = PathsHelper.generatePath(ResourceType.Database, rxDocumentServiceRequest, rxDocumentServiceRequest.isFeed);
    assertThat(path).isEqualTo(Paths.DATABASES_PATH_SEGMENT + "/");
}