|
@@ -0,0 +1,50 @@
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+import static org.junit.Assert.*;
|
|
4
|
+import org.junit.After;
|
|
5
|
+import org.junit.Before;
|
|
6
|
+import org.junit.Test;
|
|
7
|
+
|
|
8
|
+/**
|
|
9
|
+ * The test class StaffTest.
|
|
10
|
+ *
|
|
11
|
+ * @author (your name)
|
|
12
|
+ * @version (a version number or a date)
|
|
13
|
+ */
|
|
14
|
+public class StaffTest
|
|
15
|
+{
|
|
16
|
+ /**
|
|
17
|
+ * Default constructor for test class StaffTest
|
|
18
|
+ */
|
|
19
|
+ public StaffTest()
|
|
20
|
+ {
|
|
21
|
+ }
|
|
22
|
+
|
|
23
|
+ /**
|
|
24
|
+ * Sets up the test fixture.
|
|
25
|
+ *
|
|
26
|
+ * Called before every test case method.
|
|
27
|
+ */
|
|
28
|
+ @Before
|
|
29
|
+ public void setUp()
|
|
30
|
+ {
|
|
31
|
+ }
|
|
32
|
+
|
|
33
|
+ /**
|
|
34
|
+ * Tears down the test fixture.
|
|
35
|
+ *
|
|
36
|
+ * Called after every test case method.
|
|
37
|
+ */
|
|
38
|
+ @After
|
|
39
|
+ public void tearDown()
|
|
40
|
+ {
|
|
41
|
+ }
|
|
42
|
+
|
|
43
|
+ @Test
|
|
44
|
+ public void test1()
|
|
45
|
+ {
|
|
46
|
+ Staff staff1 = new Staff();
|
|
47
|
+ assertEquals("room 123", staff1.getRoom());
|
|
48
|
+ }
|
|
49
|
+}
|
|
50
|
+
|