old_contents: # Copyright 2016 F5 Networks Inc.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #    http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  #
  
  import mock
  import pytest
  
  from f5.bigip.mixins import UnnamedResourceMixin
  from f5.bigip.sys.dns import Dns
  
  
  @pytest.fixture
  def FakeDns():
      fake_sys = mock.MagicMock()
      return Dns(fake_sys)
  
  
  def test_create_raises(FakeDns):
      with pytest.raises(UnnamedResourceMixin.UnsupportedMethod) as EIO:
          FakeDns.create()
      assert EIO.value.message == "Dns does not support the create method"
  
  
  def test_delete_raises(FakeDns):
      with pytest.raises(UnnamedResourceMixin.UnsupportedMethod) as EIO:
          FakeDns.delete()
      assert EIO.value.message == "Dns does not support the delete method"
  
new_contents: # Copyright 2016 F5 Networks Inc.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #    http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  #
  
  import mock
  import pytest
  
  from f5.bigip.mixins import UnsupportedMethod
  from f5.bigip.sys.dns import Dns
  
  
  @pytest.fixture
  def FakeDns():
      fake_sys = mock.MagicMock()
      return Dns(fake_sys)
  
  
  def test_create_raises(FakeDns):
      with pytest.raises(UnsupportedMethod) as EIO:
          FakeDns.create()
      assert EIO.value.message == "Dns does not support the create method"
  
  
  def test_delete_raises(FakeDns):
      with pytest.raises(UnsupportedMethod) as EIO:
          FakeDns.delete()
      assert EIO.value.message == "Dns does not support the delete method"
  
subject: Update test_mixins.py,test_performance.py, test_dns.py to reflect changes in mixins.py. Added dns functional test, and trust classes