/// <summary> /// Creates a new <see cref="IJobStore"/> instance for use with this test class. /// </summary> /// <returns>A <see cref="IJobStore"/> instance.</returns> private static IJobStore CreateJobStore() { IJobStore store = null; if (!String.IsNullOrEmpty(connectionString)) { store = new SqlServerJobStore(connectionString); store.Initialize(null); } return store; }
public void StandardConstructorCreatesDaoWithExpectedConnectionString() { SqlServerJobStore jobStore = new SqlServerJobStore(connectionString); Assert.AreEqual(connectionString, jobStore.ConnectionString); }