/// <summary> /// CustomerAddressManager Constructor, it accept Ninject Kernel /// </summary> /// <param name="injectNinjectStandardKernel">INinjectStandardKernel</param> public CustomerAddressManager(INinjectStandardKernel injectNinjectStandardKernel) { _iNinjectStarndardKernel = injectNinjectStandardKernel; //Create Ninject Kernel and get interface bindings IKernel kernel = _iNinjectStarndardKernel.GetStandardKernel(); _csvFileManager = kernel.Get <ICSVFileManager>(); }
public CustomerAddressManagerUnitTest() { _iNinjectStandardKernel = new NinjectStandardKernel(); _iCustomerAddressManager = new CustomerAddressManager(_iNinjectStandardKernel); }