/// <summary> /// Creates a new instance of <see cref="BlobstoreClient"/> /// </summary> /// <param name="factory">Dependency injection for <see cref="BlobstoreHttpAdapterFactory"/></param> public BlobstoreClient(BlobstoreHttpAdapterFactory factory) { this.factory = factory; }
private static IBlobstoreClient NewBlobstoreClientInstance(BlobstoreHttpAdapterFactory factory) { return new BlobstoreClient(factory); }
public BlobstoreHttpAdapterFactoryTest() { this.credentials = new BlobstoreCredentials("Admin", "ChangIt"); this.uriBuilder = new BlobstoreUriBuilder("http://localhost:8080"); this.testee = new BlobstoreHttpAdapterFactory(this.credentials, this.uriBuilder); }