mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 02:39:39 +02:00
Clean up code
This commit is contained in:
parent
6eac50c5b5
commit
e96d668ee2
6 changed files with 11 additions and 41 deletions
|
@ -18,12 +18,11 @@ import sop.operation.Version;
|
|||
|
||||
public class VersionCmdTest {
|
||||
|
||||
private SOP sop;
|
||||
private Version version;
|
||||
|
||||
@BeforeEach
|
||||
public void mockComponents() {
|
||||
sop = mock(SOP.class);
|
||||
SOP sop = mock(SOP.class);
|
||||
version = mock(Version.class);
|
||||
when(version.getName()).thenReturn("MockSop");
|
||||
when(version.getVersion()).thenReturn("1.0");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue