message: fix: Only check DataAccessor canHandle call for Documents
diff: @@ -214,12 +214,6 @@ describe('A DataAccessorBasedStore', (): void => {
  .rejects.toThrow(NotFoundHttpError);
  });
  - it('checks if the DataAccessor supports the data.', async(): Promise<void> => {
  - const resourceID = { path: `${root}container/` };
  - representation.binary = false;
  - await expect(store.addResource(resourceID, representation)).rejects.toThrow(BadRequestHttpError);
  - });
  -
  it('will 404 if the target does not exist.', async(): Promise<void> => {
  const resourceID = { path: `${root}container/` };
  await expect(store.addResource(resourceID, representation)).rejects.toThrow(NotFoundHttpError);
  @@ -241,6 +235,12 @@ describe('A DataAccessorBasedStore', (): void => {
  await expect(result).rejects.toThrow('The given path is not a container.');
  });
  + it('checks if the DataAccessor supports the data.', async(): Promise<void> => {
  + const resourceID = { path: root };
  + representation.binary = false;
  + await expect(store.addResource(resourceID, representation)).rejects.toThrow(BadRequestHttpError);
  + });
  +
  it('throws a 412 if the conditions are not matched.', async(): Promise<void> => {
  const resourceID = { path: root };
  const conditions = new BasicConditions({ notMatchesETag: [ '*' ]});
  