test: created partial test prototype for MarvelousServer
This commit is contained in:
parent
0833976aca
commit
ce71de5d25
@ -0,0 +1,23 @@
|
||||
package uulm.teamname.marvelous.server.NetConnector;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.mockito.Mockito.*;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class MarvelousServerTest {
|
||||
|
||||
MarvelousServer server;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
server = spy(MarvelousServer.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
void mockitoTestThing() {
|
||||
// verify(server).onMessage(null, "hi");
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user