Skip to content

Commit

Permalink
added test case for Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
pkarthik1901 committed Dec 4, 2024
1 parent 60e33d6 commit f2160a1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/test/java/io/github/jpmorganchase/fusion/model/FlowTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package io.github.jpmorganchase.fusion.model;

import org.junit.jupiter.api.Test;

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

public class FlowTest {

@Test
void constructionWithBuilderCorrectlyPopulatesAllFields() {
Flow flow = Flow.builder().flowDirection("The direction").build();
assertThat(flow.getFlowDirection(), is(equalTo("The direction")));
}
}

0 comments on commit f2160a1

Please sign in to comment.