### Question:
BuildRequest { public NameDescription asNameDescription() { return new NameDescription(name, description); } @ConstructorProperties({"name", "description", "properties"})  BuildRequest(String name, String description, List<PropertyCreationRequest> properties); NameDescription asNameDescription();  }### Answer:
@Test public void name_description() throws JsonProcessingException { assertEquals( new NameDescription("12", "Build 12"), new BuildRequest( "12", "Build 12", Collections.emptyList() ).asNameDescription() ); }