@Test
public void uploadSuccess() {

    TestObserver<String> testObserver = s3Manager.upload(file, PATH).test();
    verify(amazonS3Client).putObject("smartreceipts", FULL_KEY_PATH, file);
    testObserver.assertValue(URL);
    testObserver.assertComplete();
    testObserver.assertNoErrors();
}