> +
> +@Test(groups = "unit", testName = "AddRomDriveToServerRequestBinderTest")
> +public class AddRomDriveToServerRequestBinderTest {
> +
> +   @Test
> +   public void testAddRomDriveToServerPayload() {
> +      AddRomDriveToServerRequestBinder binder = new 
> AddRomDriveToServerRequestBinder();
> +
> +      Drive.Request.AddRomDriveToServerPayload payload = 
> Drive.Request.AddRomDriveToServerPayload.builder()
> +              .serverId("server-id")
> +              .storageId("image-id")
> +              .deviceNumber("device-number")
> +              .build();
> +
> +      String actual = binder.createPayload(payload);
> +      assertNotNull(actual, "Binder returned null payload");

nit: This is redundant, the next check will also fail as the expected payload 
is not null.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/146/files#r25730216

Reply via email to