aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-http-client/src/test/java/com/yahoo/vespa/http/client/TestDocument.java
blob: 90ca09251bc4e4593da8b7385df09e449e2c282b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.http.client;

/**
* @author Einar M R Rosenvinge
*/
public class TestDocument {
    private final String documentId;
    private final byte[] contents;

    TestDocument(String documentId, byte[] contents) {
        this.documentId = documentId;
        this.contents = contents;
    }

    public String getDocumentId() {
        return documentId;
    }

    public byte[] getContents() {
        return contents;
    }
}