private ContextProperty buildContextProperty() { ContextProperty cp = new ContextProperty("foo", Scope.EXCHANGE, "bar"); cp.addLabels("baz", "whiz"); return cp; }