Skip to content

Commit

Permalink
Fixed FakeValuesGroupingTest
Browse files Browse the repository at this point in the history
  • Loading branch information
SS007979 authored and SS007979 committed Aug 20, 2019
1 parent 35f3295 commit d53a131
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,9 +1,9 @@
package com.github.javafaker.service;

import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.notNullValue;
import static org.hamcrest.Matchers.is;

import java.util.Locale;

Expand Down Expand Up @@ -39,7 +39,7 @@ public void handlesMultipleFakeValues() {
assertThat(Maps.difference(fakeValuesGrouping.get("address"), addressValues.get("address")).areEqual(), equalTo(true));
assertThat(fakeValuesGrouping.get("address"), is(notNullValue()));

assertThat(Maps.difference(fakeValuesGrouping.get("creature"), addressValues.get("creature")).areEqual(), equalTo(true));
assertThat(Maps.difference(fakeValuesGrouping.get("creature"), catValues.get("creature")).areEqual(), equalTo(true));
assertThat(fakeValuesGrouping.get("creature"), is(notNullValue()));
}

Expand Down

0 comments on commit d53a131

Please sign in to comment.