@Test
public void testBuildSimpleQuery() throws Exception {

  WorkflowQuery q = new WorkflowQuery().withMediaPackage("123").withSeriesId("series1");
  String solrQuery = dao.createQuery(q, Permissions.Action.READ.toString(), true);
  String expected = "oc_org:mh_default_org AND mediapackageid:123 AND seriesid:series1";
  assertEquals(expected, solrQuery);
}