def METHOD_NAME(self):
    self.assertEqual(FDI()("title"), "Title")
    self.assertEqual(FDI()("~title~artist"), "Title - Artist")
    self.assertEqual(FDI(title="foo")("title"), "foo")
    self.assertEqual(FDI(title="f")("~title~artist"), "f - Artist")
    self.assertEqual(FDI()("~#rating"), "Rating")
    self.assertEqual(FDI({"~#rating": 0.5})("~#rating"), 0.5)
    self.assertEqual(FDI()("~#rating:max"), "Rating<max>")