/**
 * 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_contains_usingFieldByFieldValueComparator_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,97 +635,2155 @@
 i;%0A%0A
-/**%0A * TODO%0A */%0Apublic class OptionAssert_contains_usingFieldByFieldValueComparator_Test %7B
+import io.vavr.control.Option;%0Aimport org.assertj.vavr.test.BaseTest;%0Aimport org.junit.Test;%0A%0Aimport static org.assertj.core.util.FailureMessages.actualIsNull;%0Aimport static org.assertj.vavr.api.OptionShouldContain.shouldContain;%0Aimport static org.assertj.vavr.api.VavrAssertions.assertThat;%0A%0Apublic class OptionAssert_contains_usingFieldByFieldValueComparator_Test extends BaseTest %7B%0A%0A    @Test%0A    public void should_fail_when_optional_is_null() %7B%0A        thrown.expectAssertionError(actualIsNull());%0A%0A        assertThat((Option%3CFoo%3E) null).usingFieldByFieldValueComparator().contains(new Foo(%22something%22));%0A    %7D%0A%0A    @Test%0A    public void should_fail_if_expected_value_is_null() %7B%0A        thrown.expectIllegalArgumentException(%22The expected value should not be %3Cnull%3E.%22);%0A%0A        assertThat(Option.of(new Foo(%22something%22))).usingFieldByFieldValueComparator().contains(null);%0A    %7D%0A%0A    @Test%0A    public void should_pass_if_optional_contains_expected_value() %7B%0A        assertThat(Option.of(new Foo(%22something%22))).usingFieldByFieldValueComparator()%0A          .contains(new Foo(%22something%22));%0A    %7D%0A%0A    @Test%0A    public void should_fail_if_optional_does_not_contain_expected_value() %7B%0A        Option%3CFoo%3E actual = Option.of(new Foo(%22something%22));%0A        Foo expectedValue = new Foo(%22something else%22);%0A%0A        thrown.expectAssertionError(shouldContain(actual, expectedValue).create());%0A%0A        assertThat(actual).usingFieldByFieldValueComparator().contains(expectedValue);%0A    %7D%0A%0A    @Test%0A    public void should_fail_if_optional_is_empty() %7B%0A        Foo expectedValue = new Foo(%22test%22);%0A%0A        thrown.expectAssertionError(shouldContain(expectedValue).create());%0A%0A        assertThat(Option.none()).usingFieldByFieldValueComparator().contains(expectedValue);%0A    %7D%0A%0A    private static class Foo %7B%0A%0A        private final String value;%0A%0A        Foo(String value) %7B%0A            this.value = value;%0A        %7D%0A%0A        @SuppressWarnings(%22unused%22)%0A        public String getValue() %7B%0A            return value;%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return %22Foo%7B%22 + %22value='%22 + value + '%5C'' + '%7D';%0A        %7D%0A    %7D
 %0A%7D%0A

Add OptionAssert_contains_usingFieldByFieldValueComparator_Test