If publishing only (i.e. a test case) a type error should not be thrown if there are no topics.