Skip to content
Permalink
Browse files
Merge pull request #2 from skylabaseInc/develop
Deposit, Teller, Loan and Income state report updates
  • Loading branch information
mgeiss committed Sep 6, 2017
2 parents fe4f978 + 096a62c commit a3dee1ef565088425a545357e5c6abb8230ffbdd
Showing 8 changed files with 1,229 additions and 0 deletions.
@@ -14,3 +14,5 @@ gradle-app.setting
*.log

*.toDelete
*.class
out/
@@ -0,0 +1,20 @@
package io.mifos.reporting.api.v1.domain;

public class Sample {
private Object identifier;
private Object payload;
public Sample(){
super();
}
public static Sample create(String xxxx, String yyy) {
return new Sample();
}

public void setIdentifier(Object identifier) {
this.identifier = identifier;
}

public void setPayload(String payload) {
this.payload = payload;
}
}
@@ -0,0 +1,21 @@
package io.mifos.reporting;

import io.mifos.reporting.api.v1.domain.ReportDefinition;
import org.junit.Assert;
import org.junit.Test;

import java.util.List;

public class TestSavingListReportSpecification extends AbstractReportingSpecificationTest {
public TestSavingListReportSpecification() {
super();
}

@Test
public void shouldReturnReportDefinition() {
final List<ReportDefinition> reportDefinitions = super.testSubject.fetchReportDefinitions("Deposit");
Assert.assertTrue(
reportDefinitions.stream().anyMatch(reportDefinition -> reportDefinition.getIdentifier().equals("Listing"))
);
}
}

0 comments on commit a3dee1e

Please sign in to comment.