From 171341543525b950a1db1692bab10d251a2245dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Sun, 15 Jan 2012 18:56:40 +0100 Subject: Make Broadcaster testable. --- same/src/test/java/com/orbekk/same/MasterServiceImplTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'same/src/test/java') diff --git a/same/src/test/java/com/orbekk/same/MasterServiceImplTest.java b/same/src/test/java/com/orbekk/same/MasterServiceImplTest.java index cbfbf12..78efb99 100644 --- a/same/src/test/java/com/orbekk/same/MasterServiceImplTest.java +++ b/same/src/test/java/com/orbekk/same/MasterServiceImplTest.java @@ -9,7 +9,8 @@ import org.junit.Test; public class MasterServiceImplTest { private State state = new State("TestNetwork"); - private MasterServiceImpl master = new MasterServiceImpl(state); + private MasterServiceImpl master = new MasterServiceImpl(state, null, + null); @Test public void setsMasterUrl() { -- cgit v1.2.3