### Question:
ParsePush { public void setChannel(String channel) { builder.channelSet(Collections.singletonList(channel)); } ParsePush();  ParsePush(ParsePush push); private  ParsePush(State.Builder builder); static Task<Void> subscribeInBackground(String channel); static void subscribeInBackground(String channel, SaveCallback callback); static Task<Void> unsubscribeInBackground(String channel); static void unsubscribeInBackground(String channel, SaveCallback callback); static Task<Void> sendMessageInBackground(String message,
      ParseQuery<ParseInstallation> query); static void sendMessageInBackground(String message, ParseQuery<ParseInstallation> query,
      SendCallback callback); static Task<Void> sendDataInBackground(JSONObject data,
      ParseQuery<ParseInstallation> query); static void sendDataInBackground(JSONObject data, ParseQuery<ParseInstallation> query,
      SendCallback callback); void setChannel(String channel); void setChannels(Collection<String> channels); void setQuery(ParseQuery<ParseInstallation> query); void setExpirationTime(long time); void setExpirationTimeInterval(long timeInterval); void clearExpiration(); void setPushTime(long time); @Deprecated void setPushToIOS(boolean pushToIOS); @Deprecated void setPushToAndroid(boolean pushToAndroid); void setData(JSONObject data); void setMessage(String message); Task<Void> sendInBackground(); void send(); void sendInBackground(SendCallback callback);  }### Answer:
@Test public void testSetChannel() { ParsePush push = new ParsePush(); push.setChannel("test"); push.setMessage("message"); ParsePush.State state = push.builder.build(); assertEquals(1, state.channelSet().size()); assertTrue(state.channelSet().contains("test")); }