With this change we will be able to Mock enum as well
Change-Id: I61321c54ae458a93398eacb1a43ae22ce755e793
Issue-ID: SDC-988
Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
+ <artifactId>mockito-core</artifactId>
<scope>test</scope>
- <version>${mockito.all.version}</version>
+ <version>${mockito.version}</version>
</dependency>
</dependencies>
@Test
public void shouldConvertDataProperly() {
- ToggleStatus tf = mock(ToggleStatus.class);
+ ToggleableFeature tf = mock(ToggleableFeature.class);
final String TF_NAME = "tf";
final boolean ACTIVE = true;
when(tf.name()).thenReturn(TF_NAME);
--- /dev/null
+mock-maker-inline
\ No newline at end of file