public void Test_AddMethodLogsSomeValue_Called() { // arrange var math = new MathWebClient(_apiClient, _databaseLogger); // arrange mocking _apiClient.Get(Arg.Any <string>()).Returns((1 + 2).ToString()); // act _ = math.Add(1, 2); // assert _databaseLogger.ReceivedWithAnyArgs().Log(default);