	@Test
	void minimalRequestSerializesToJsonWithoutMissingExcludingTransients() {

		CreateServiceInstanceBindingRequest request = CreateServiceInstanceBindingRequest
				.builder().platformInstanceId("platform-instance-id")
				.apiInfoLocation("api-info-location")
				.originatingIdentity(PlatformContext.builder()
						.platform("sample-platform").build())
				.asyncAccepted(true)
				.serviceDefinitionId("definition-id").build();

		DocumentContext json = JsonUtils.toJsonPath(request);

		// Fields present in OSB Json body should be present
		JsonPathAssert.assertThat(json).hasPath("$.service_id").isEqualTo("definition-id");

		// other fields mapped outside of json body (typically http headers or request paths)
		// should be excluded
		JsonPathAssert.assertThat(json).hasMapAtPath("$").hasSize(1);
	}