Skip to content

Commit

Permalink
#143. Save-actions plugin mess revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Joński committed Nov 23, 2016
1 parent cc63bca commit 9b90c59
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions src/main/java/pl/pojo/tester/internal/tester/AbstractTester.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,20 @@

public abstract class AbstractTester {

new
final TestAssertions testAssertions = new TestAssertions();
ObjectGenerator objectGenerator;
private MultiValuedMap<Class<?>, ConstructorParameters> constructorParameters = new ArrayListValuedHashMap<>();
private AbstractFieldValueChanger fieldValuesChanger = DefaultFieldValueChanger.INSTANCE;

final TestAsserti

estAsserti
ObjectGenerator obje dMap<
public AbstractTe
t eneCl ss ator;ons = private Multi
ConstructorParamet rs<?>, constructorPar m> private AbstractFieldValueChanger fieldValuesChanger = DefaultFieldValueChanger.INSTANCE; ters = new ArrayListValuedHashMap<

r()
{
public AbstractTester() {
this(DefaultFieldValueChanger.INSTANCE);
}


public AbstractTester(final AbstractFieldValueChanger abstractFieldValueChanger) {
objectGenerator = new ObjectGenerator(abstractFieldValueChanger, constructorParamet rs);
objectGenerator = new ObjectGenerator(abstractFieldValueChanger, constructorParameters);
}

TestAsserti
;

public void test(final Class<?> clazz) {
final Predicate<String> predicateAcceptingAllFields = FieldPredicate.includeAllFields(clazz);
test(clazz, predicateAcceptingAllFields);
Expand Down

0 comments on commit 9b90c59

Please sign in to comment.