def test_wine_clas_max_rating_returned_value():
    new_wine = Wine()
    new_wine.max_rating = MagicMock(return_value=3)
    assert new_wine.max_rating() == 3
def test_wine_clas_max_rating_called_with():
    new_wine = Wine()
    new_wine.max_rating = MagicMock(return_value=3)
    new_wine.max_rating()
    new_wine.max_rating.assert_called_with()