Ejemplo n.º 1
0
        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 ContractsPersistenceFixture(IContractsPersistence persistence)
 {
     _persistence = persistence;
 }