from duplication_handler import DuplicationHandler
from unittest import TestCase 
from mock import patch 

class TestUtils(TestCase):
    def test_get_media(self):
        subject = DuplicationHandler()
        dummy_entry = {
            'booktitle': 'Dragon balls',
            'year': '1991'
        }
        casual_entry = {
            'journal': 'Dragon balls Z',
            'year': '1092'
        }
        oh_oh_entry = {
            'year': '1111'
        }