public void test6_SetOkToDistribute() { //Arrange EnergyStorage e = new EnergyStorage(); bool dist = true; bool expectedResult = true; //Act e.SetOkToDistribute(dist); bool result = e.GetOkToDistribute(); //Assert Assert.AreEqual(result, expectedResult); }