def METHOD_NAME(self):
    expected = ["2.0.50727.4927", "3.0.30729.4926", "3.5.30729.4926", "4.7.2"]
    with patch("salt.utils.win_reg.list_keys", self.mock_reg_list), patch(
        "salt.utils.win_reg.value_exists", self.mock_reg_exists
    ), patch("salt.utils.win_reg.read_value", self.mock_reg_read):
        result = win_dotnet.versions_list()
        self.assertListEqual(result, expected)