public override void SetReferences(IReferences references) { base.SetReferences(references); _dependencyResolver.SetReferences(references); _persistence = references.GetOneRequired <IContractsPersistence>( new Descriptor("eic-contracts", "persistence", "*", "*", "1.0") ); _customersClient = _dependencyResolver.GetOneRequired <ICustomersClientV1>("customers"); _customersConnector = new CustomersConnector(_customersClient); }
public CustomersClientV1Fixture(ICustomersClientV1 client) { _client = client; }
public CustomersConnector(ICustomersClientV1 customersClientV1) { _customersClient = customersClientV1; }