public void TestSaveStageWithSameName() { _stageDataManager.Save(_stageMock.Object); _dataAdapterMock.Verify(m => m.Save(_stageMock.Object)); }
/// <summary> /// Save the stage with specified name. /// </summary> /// <param name="stage">The stage to be saved.</param> /// <returns></returns> public IActionResult Save(IStage stage) { return(_dataManager.Save(stage)); }