/// <summary> /// Initializes a new instance of the <see cref="SelfMediaDatabase.Console.Bootstrap.Bootstrap"/> class. /// </summary> /// <param name="bootstrapOperation">Bootstrap operations.</param> /// <param name="directory">Directory.</param> public Bootstrap(IBootstrapOperations bootstrapOperations) { if (bootstrapOperations == null) throw new ArgumentNullException("bootstrapOperations"); _bootstrapOperations = bootstrapOperations; }
public void Initialize() { _bootstrapOperations = Substitute.For<IBootstrapOperations>(); _target = new B(_bootstrapOperations); }