/**
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 * <p>
 * Copyright 2012-2017 the original author or authors.
 */
package org.assertj.vavr.api;

/**
 * TODO
 */
public class OptionAssert_flatMap_Test {
}

@@ -1,12 +1,11 @@
 /*
-*
 %0A
+
  * Licen
@@ -173,20 +173,16 @@
 se at%0A *
- %3Cp%3E
 %0A * http
@@ -222,20 +222,16 @@
 E-2.0%0A *
- %3Cp%3E
 %0A * Unle
@@ -544,12 +544,8 @@
 .%0A *
- %3Cp%3E
 %0A * 
@@ -635,63 +635,1066 @@
 i;%0A%0A
-/**%0A * TODO%0A */%0Apublic class OptionAssert_flatMap_Test %7B
+import io.vavr.control.Option;%0Aimport org.assertj.vavr.test.BaseTest;%0Aimport org.junit.Test;%0A%0Aimport java.util.function.Function;%0A%0Aimport static org.assertj.core.util.FailureMessages.actualIsNull;%0Aimport static org.assertj.vavr.api.VavrAssertions.assertThat;%0A%0Apublic class OptionAssert_flatMap_Test extends BaseTest %7B%0A%0A    private static final Function%3CString, Option%3CString%3E%3E UPPER_CASE_OPTIONAL_STRING = s -%3E (s == null)%0A      ? Option.none() : Option.of(s.toUpperCase());%0A%0A    @Test%0A    public void should_fail_when_optional_is_null() %7B%0A        thrown.expectAssertionError(actualIsNull());%0A%0A        assertThat((Option%3CString%3E) null).flatMap(UPPER_CASE_OPTIONAL_STRING);%0A    %7D%0A%0A    @Test%0A    public void should_pass_when_optional_is_empty() %7B%0A        assertThat(Option.%3CString%3Enone()).flatMap(UPPER_CASE_OPTIONAL_STRING).isEmpty();%0A    %7D%0A%0A    @Test%0A    public void should_pass_when_optional_contains_a_value() %7B%0A        assertThat(Option.of(%22present%22)).contains(%22present%22)%0A          .flatMap(UPPER_CASE_OPTIONAL_STRING)%0A          .contains(%22PRESENT%22);%0A    %7D
 %0A%7D%0A

Add OptionAssert_flatMap_Test