Skip to content

Instantly share code, notes, and snippets.

@FraukeN
Last active June 2, 2018 11:32
Show Gist options
  • Select an option

  • Save FraukeN/288971a3d7739a566fa03f33b91ccf75 to your computer and use it in GitHub Desktop.

Select an option

Save FraukeN/288971a3d7739a566fa03f33b91ccf75 to your computer and use it in GitHub Desktop.

Revisions

  1. FraukeN revised this gist Jun 2, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion OverviewVMTests.cs
    Original file line number Diff line number Diff line change
    @@ -7,5 +7,5 @@ public async Task LoadData_loads_data_from_repository()
    await vm.LoadData();

    // Assert
    Assert.AreEqual(3, vm.ToDoItems.Count());
    Assert.That(vm.ToDoItems.Count(), Is.EqualTo(3));
    }
  2. FraukeN created this gist Jun 2, 2018.
    11 changes: 11 additions & 0 deletions OverviewVMTests.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    public async Task LoadData_loads_data_from_repository()
    {
    // Arrange
    OverviewVM vm = new OverviewVM(new MockRepository());

    // Act
    await vm.LoadData();

    // Assert
    Assert.AreEqual(3, vm.ToDoItems.Count());
    }