public async Task EnsureInitializedAsync_DoesntThrow_WhenInitialized() { var store = new ConcreteOfflineStore(); await store.InitializeAsync(); await store.C_EnsureInitializedAsync(); }
public async Task EnsureInitializedAsync_Throws_WhenNotInitialized() { var store = new ConcreteOfflineStore(); await Assert.ThrowsAnyAsync <InvalidOperationException>(() => store.C_EnsureInitializedAsync()); }