def METHOD_NAME(self):
    """
    Test owner only views metadata field
    """
    request = APIRequestFactory().get('/')
    alice_data = {'username': 'alice', 'email': 'alice@localhost.com'}
    bob_profile = self._create_user_profile()
    alice_profile = self._create_user_profile(extra_post_data=alice_data)
    request.user = bob_profile.user
    bob_serializer = UserProfileSerializer(
        instance=bob_profile,
        context={'request': request})
    self.assertIn('metadata', bob_serializer.data.keys())
    alice_serializer = UserProfileSerializer(
        instance=alice_profile,
        context={'request': request})
    self.assertNotIn('metadata', alice_serializer.data.keys())
    self.assertEqual(bob_profile.user.username,
                     bob_serializer.data['username'])
    self.assertEqual(alice_profile.user.username,
                     alice_serializer.data['username'])