### Question:
ModelUtils { public static Boolean mergeProperty(Boolean current, boolean offer, boolean override) { return mergeProperty(current, Boolean.valueOf(offer), override); } private  ModelUtils(); static String normaliseUrl(String path); static HttpMethod getHttpMethod(OpenApiContext context, MethodModel method); static HttpMethod getHttpMethod(String method); static Operation getOrCreateOperation(PathItem pathItem, HttpMethod httpMethod); static Operation findOperation(OpenApiContext context, OpenAPI api, MethodModel method, String path); static void removeOperation(PathItem pathItem, Operation operation); static SchemaType getSchemaType(ParameterizedType type, ApiContext context); static SchemaType getSchemaType(String typeName, ApiContext context); static boolean isMap(String typeName, ApiContext context); static SchemaType getParentSchemaType(SchemaType type1, SchemaType type2); static boolean isRequestBody(ApiContext context, org.glassfish.hk2.classmodel.reflect.Parameter parameter); static In getParameterType(ApiContext context, org.glassfish.hk2.classmodel.reflect.Parameter parameter); static String getParameterName(ApiContext context, org.glassfish.hk2.classmodel.reflect.Parameter parameter); static boolean isAnnotationNull(Annotation annotation); static void extractAnnotations(
            AnnotationModel annotationModel,
            ApiContext context,
            String type,
            String key,
            BiFunction<AnnotationModel, ApiContext, T> factory,
            Map<String, T> wrapper); static void extractAnnotations(
            AnnotationModel annotationModel,
            ApiContext context,
            String type,
            BiFunction<AnnotationModel, ApiContext, T> factory,
            List<T> wrapper); static Boolean mergeProperty(Boolean current, boolean offer, boolean override); static Boolean mergeProperty(boolean current, Boolean offer, boolean override); static Boolean mergeProperty(boolean current, boolean offer, boolean override); static E mergeProperty(E current, E offer, boolean override); static void applyReference(org.eclipse.microprofile.openapi.models.Reference<?> referee, String reference); static void overwrite(T from, T to); @SuppressWarnings("unchecked") static void merge(T from, T to, boolean override); static String getSimpleName(String fqn); static final String UNKNOWN_ELEMENT_NAME; }### Answer:
@Test public void mergePropertyTest() { assertEquals(NEW_VALUE, mergeProperty(CURRENT_VALUE, NEW_VALUE, true)); assertEquals(CURRENT_VALUE, mergeProperty(CURRENT_VALUE, NEW_VALUE, false)); assertEquals(CURRENT_VALUE, mergeProperty(CURRENT_VALUE, NULL, true)); assertEquals(CURRENT_VALUE, mergeProperty(CURRENT_VALUE, NULL, false)); assertEquals(NEW_VALUE, mergeProperty(NULL, NEW_VALUE, true)); assertEquals(NEW_VALUE, mergeProperty(NULL, NEW_VALUE, false)); assertEquals(NULL, mergeProperty(NULL, NULL, true)); assertEquals(NULL, mergeProperty(NULL, NULL, false)); }