Nathan Hall пре 5 година
родитељ
комит
e169612cfd
23 измењених фајлова са 695 додато и 250 уклоњено
  1. 124
    0
      src/.idea/uiDesigner.xml
  2. 383
    231
      src/.idea/workspace.xml
  3. 23
    0
      src/main/java/com/zipcode/wilmington/beanjawn/ClassroomConfig.java
  4. 23
    0
      src/main/java/com/zipcode/wilmington/beanjawn/InstructorsConfig.java
  5. 2
    2
      src/main/java/com/zipcode/wilmington/beanjawn/StudentConfig.java
  6. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/BeanjawnApplication.class
  7. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/Classroom.class
  8. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/ClassroomConfig.class
  9. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/Instructor.class
  10. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/Instructors.class
  11. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/InstructorsConfig.class
  12. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/Learner.class
  13. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/People.class
  14. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/Person.class
  15. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/Student.class
  16. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/StudentConfig.class
  17. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/Students.class
  18. BIN
      src/target/classes/com/zipcode/wilmington/beanjawn/Teacher.class
  19. BIN
      src/target/test-classes/java/com/zipcode/wilmington/beanjawn/StudentConfigTest.class
  20. 0
    17
      src/test/java/com/zipcode/wilmington/beanjawn/BeanjawnApplicationTests.java
  21. 42
    0
      src/test/java/com/zipcode/wilmington/beanjawn/ClassroomConfigTest.java
  22. 53
    0
      src/test/java/com/zipcode/wilmington/beanjawn/InstructorConfigTest.java
  23. 45
    0
      src/test/java/com/zipcode/wilmington/beanjawn/StudentConfigTest.java

+ 124
- 0
src/.idea/uiDesigner.xml Прегледај датотеку

@@ -0,0 +1,124 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="Palette2">
4
+    <group name="Swing">
5
+      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
6
+        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
7
+      </item>
8
+      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
9
+        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
10
+      </item>
11
+      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
12
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
13
+      </item>
14
+      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
15
+        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
16
+      </item>
17
+      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
18
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
19
+        <initial-values>
20
+          <property name="text" value="Button" />
21
+        </initial-values>
22
+      </item>
23
+      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
24
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
25
+        <initial-values>
26
+          <property name="text" value="RadioButton" />
27
+        </initial-values>
28
+      </item>
29
+      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
30
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
31
+        <initial-values>
32
+          <property name="text" value="CheckBox" />
33
+        </initial-values>
34
+      </item>
35
+      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
36
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
37
+        <initial-values>
38
+          <property name="text" value="Label" />
39
+        </initial-values>
40
+      </item>
41
+      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
42
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
43
+          <preferred-size width="150" height="-1" />
44
+        </default-constraints>
45
+      </item>
46
+      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
47
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
48
+          <preferred-size width="150" height="-1" />
49
+        </default-constraints>
50
+      </item>
51
+      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
52
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
53
+          <preferred-size width="150" height="-1" />
54
+        </default-constraints>
55
+      </item>
56
+      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
57
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
58
+          <preferred-size width="150" height="50" />
59
+        </default-constraints>
60
+      </item>
61
+      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
62
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
63
+          <preferred-size width="150" height="50" />
64
+        </default-constraints>
65
+      </item>
66
+      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
67
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
68
+          <preferred-size width="150" height="50" />
69
+        </default-constraints>
70
+      </item>
71
+      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
72
+        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
73
+      </item>
74
+      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
75
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
76
+          <preferred-size width="150" height="50" />
77
+        </default-constraints>
78
+      </item>
79
+      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
80
+        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
81
+          <preferred-size width="150" height="50" />
82
+        </default-constraints>
83
+      </item>
84
+      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
85
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
86
+          <preferred-size width="150" height="50" />
87
+        </default-constraints>
88
+      </item>
89
+      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
90
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
91
+          <preferred-size width="200" height="200" />
92
+        </default-constraints>
93
+      </item>
94
+      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
95
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
96
+          <preferred-size width="200" height="200" />
97
+        </default-constraints>
98
+      </item>
99
+      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
100
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
101
+      </item>
102
+      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
103
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
104
+      </item>
105
+      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
106
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
107
+      </item>
108
+      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
109
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
110
+      </item>
111
+      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
112
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
113
+          <preferred-size width="-1" height="20" />
114
+        </default-constraints>
115
+      </item>
116
+      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
117
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
118
+      </item>
119
+      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
120
+        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
121
+      </item>
122
+    </group>
123
+  </component>
124
+</project>

+ 383
- 231
src/.idea/workspace.xml Прегледај датотеку

@@ -2,13 +2,16 @@
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="c08e742d-ec86-4dda-b948-e67c704654a9" name="Default Changelist" comment="">
5
-      <change afterPath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Classroom.java" afterDir="false" />
6
-      <change afterPath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Instructors.java" afterDir="false" />
7
-      <change afterPath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/StudentConfig.java" afterDir="false" />
5
+      <change afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/ClassroomConfig.java" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/ClassroomConfigTest.java" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/InstructorConfigTest.java" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/StudentConfigTest.java" afterDir="false" />
8 10
       <change beforePath="$PROJECT_DIR$/../README.md" beforeDir="false" />
9 11
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
10
-      <change beforePath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/People.java" beforeDir="false" afterPath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/People.java" afterDir="false" />
11
-      <change beforePath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Students.java" beforeDir="false" afterPath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Students.java" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/InstructorsConfig.java" beforeDir="false" afterPath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/InstructorsConfig.java" afterDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/StudentConfig.java" beforeDir="false" afterPath="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/StudentConfig.java" afterDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/BeanjawnApplicationTests.java" beforeDir="false" />
12 15
     </list>
13 16
     <ignored path="$PROJECT_DIR$/target/" />
14 17
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -21,163 +24,174 @@
21 24
     <session id="331754898">
22 25
       <usages-collector id="statistics.lifecycle.project">
23 26
         <counts>
27
+          <entry key="project.closed" value="2" />
24 28
           <entry key="project.open.time.4" value="1" />
25
-          <entry key="project.opened" value="1" />
29
+          <entry key="project.open.time.5" value="1" />
30
+          <entry key="project.open.time.70" value="1" />
31
+          <entry key="project.opened" value="3" />
26 32
         </counts>
27 33
       </usages-collector>
28 34
       <usages-collector id="statistics.file.types.open">
29 35
         <counts>
30
-          <entry key="JAVA" value="10" />
36
+          <entry key="JAVA" value="22" />
37
+          <entry key="XML" value="1" />
31 38
         </counts>
32 39
       </usages-collector>
33 40
       <usages-collector id="statistics.file.types.edit">
34 41
         <counts>
35
-          <entry key="JAVA" value="1949" />
42
+          <entry key="JAVA" value="3431" />
43
+          <entry key="PLAIN_TEXT" value="17" />
36 44
         </counts>
37 45
       </usages-collector>
38 46
     </session>
39 47
   </component>
40 48
   <component name="FileEditorManager">
41
-    <leaf>
42
-      <file pinned="false" current-in-tab="false">
43
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Person.java">
44
-          <provider selected="true" editor-type-id="text-editor">
45
-            <state relative-caret-position="164">
46
-              <caret line="11" column="25" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="25" />
47
-              <folding>
48
-                <element signature="e#247#248#0" expanded="true" />
49
-                <element signature="e#278#279#0" expanded="true" />
50
-                <element signature="e#305#306#0" expanded="true" />
51
-                <element signature="e#345#346#0" expanded="true" />
52
-                <element signature="e#377#378#0" expanded="true" />
53
-              </folding>
54
-            </state>
55
-          </provider>
56
-        </entry>
57
-      </file>
58
-      <file pinned="false" current-in-tab="false">
59
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Learner.java">
60
-          <provider selected="true" editor-type-id="text-editor">
61
-            <state relative-caret-position="60">
62
-              <caret line="4" column="44" lean-forward="true" selection-start-line="4" selection-start-column="44" selection-end-line="4" selection-end-column="44" />
63
-            </state>
64
-          </provider>
65
-        </entry>
66
-      </file>
67
-      <file pinned="false" current-in-tab="false">
68
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Student.java">
69
-          <provider selected="true" editor-type-id="text-editor">
70
-            <state relative-caret-position="236">
71
-              <caret line="16" column="39" selection-start-line="16" selection-start-column="39" selection-end-line="16" selection-end-column="39" />
72
-              <folding>
73
-                <element signature="e#140#141#0" expanded="true" />
74
-                <element signature="e#171#172#0" expanded="true" />
75
-                <element signature="e#392#393#0" expanded="true" />
76
-              </folding>
77
-            </state>
78
-          </provider>
79
-        </entry>
80
-      </file>
81
-      <file pinned="false" current-in-tab="false">
82
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Teacher.java">
83
-          <provider selected="true" editor-type-id="text-editor">
84
-            <state relative-caret-position="120">
85
-              <caret line="8" selection-start-line="8" selection-end-line="8" />
86
-            </state>
87
-          </provider>
88
-        </entry>
89
-      </file>
90
-      <file pinned="false" current-in-tab="false">
91
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Instructor.java">
92
-          <provider selected="true" editor-type-id="text-editor">
93
-            <state relative-caret-position="375">
94
-              <caret line="25" lean-forward="true" selection-start-line="25" selection-end-line="25" />
95
-              <folding>
96
-                <element signature="e#146#147#0" expanded="true" />
97
-                <element signature="e#177#178#0" expanded="true" />
98
-              </folding>
99
-            </state>
100
-          </provider>
101
-        </entry>
102
-      </file>
103
-      <file pinned="false" current-in-tab="false">
104
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/People.java">
105
-          <provider selected="true" editor-type-id="text-editor">
106
-            <state relative-caret-position="250">
107
-              <caret line="62" column="37" selection-start-line="62" selection-start-column="37" selection-end-line="62" selection-end-column="37" />
108
-              <folding>
109
-                <element signature="imports" expanded="true" />
110
-                <element signature="e#318#319#0" expanded="true" />
111
-                <element signature="e#369#370#0" expanded="true" />
112
-                <element signature="e#421#422#0" expanded="true" />
113
-                <element signature="e#461#462#0" expanded="true" />
114
-                <element signature="e#499#500#0" expanded="true" />
115
-                <element signature="e#533#534#0" expanded="true" />
116
-                <element signature="e#574#575#0" expanded="true" />
117
-                <element signature="e#611#612#0" expanded="true" />
118
-                <element signature="e#640#641#0" expanded="true" />
119
-                <element signature="e#680#681#0" expanded="true" />
120
-                <element signature="e#707#708#0" expanded="true" />
121
-                <element signature="e#741#742#0" expanded="true" />
122
-                <element signature="e#1121#1122#0" expanded="true" />
123
-                <element signature="e#1154#1155#0" expanded="true" />
124
-                <element signature="e#1350#1351#0" expanded="true" />
125
-                <element signature="e#1382#1383#0" expanded="true" />
126
-              </folding>
127
-            </state>
128
-          </provider>
129
-        </entry>
130
-      </file>
131
-      <file pinned="false" current-in-tab="false">
132
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Students.java">
133
-          <provider selected="true" editor-type-id="text-editor">
134
-            <state relative-caret-position="195">
135
-              <caret line="13" lean-forward="true" selection-start-line="13" selection-end-line="13" />
136
-              <folding>
137
-                <element signature="imports" expanded="true" />
138
-                <element signature="e#219#220#0" expanded="true" />
139
-                <element signature="e#243#244#0" expanded="true" />
140
-              </folding>
141
-            </state>
142
-          </provider>
143
-        </entry>
144
-      </file>
145
-      <file pinned="false" current-in-tab="false">
146
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Instructors.java">
147
-          <provider selected="true" editor-type-id="text-editor">
148
-            <state relative-caret-position="135">
149
-              <caret line="9" lean-forward="true" selection-start-line="9" selection-end-line="9" />
150
-              <folding>
151
-                <element signature="e#176#177#0" expanded="true" />
152
-                <element signature="e#196#197#0" expanded="true" />
153
-              </folding>
154
-            </state>
155
-          </provider>
156
-        </entry>
157
-      </file>
158
-      <file pinned="false" current-in-tab="false">
159
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Classroom.java">
160
-          <provider selected="true" editor-type-id="text-editor">
161
-            <state relative-caret-position="232">
162
-              <caret line="16" column="49" lean-forward="true" selection-start-line="16" selection-start-column="49" selection-end-line="16" selection-end-column="49" />
163
-              <folding>
164
-                <element signature="e#366#367#0" expanded="true" />
165
-                <element signature="e#399#400#0" expanded="true" />
166
-              </folding>
167
-            </state>
168
-          </provider>
169
-        </entry>
170
-      </file>
171
-      <file pinned="false" current-in-tab="true">
172
-        <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/StudentConfig.java">
173
-          <provider selected="true" editor-type-id="text-editor">
174
-            <state relative-caret-position="120">
175
-              <caret line="8" column="8" lean-forward="true" selection-start-line="8" selection-start-column="8" selection-end-line="8" selection-end-column="8" />
176
-            </state>
177
-          </provider>
178
-        </entry>
179
-      </file>
180
-    </leaf>
49
+    <splitter split-orientation="horizontal" split-proportion="0.44585988">
50
+      <split-first>
51
+        <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
52
+          <file pinned="false" current-in-tab="false">
53
+            <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Person.java">
54
+              <provider selected="true" editor-type-id="text-editor">
55
+                <state relative-caret-position="165">
56
+                  <caret line="11" column="25" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="25" />
57
+                  <folding>
58
+                    <element signature="e#247#248#0" expanded="true" />
59
+                    <element signature="e#278#279#0" expanded="true" />
60
+                    <element signature="e#305#306#0" expanded="true" />
61
+                    <element signature="e#345#346#0" expanded="true" />
62
+                    <element signature="e#377#378#0" expanded="true" />
63
+                  </folding>
64
+                </state>
65
+              </provider>
66
+            </entry>
67
+          </file>
68
+          <file pinned="false" current-in-tab="false">
69
+            <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Student.java">
70
+              <provider selected="true" editor-type-id="text-editor">
71
+                <state relative-caret-position="210">
72
+                  <caret line="16" column="39" selection-start-line="16" selection-start-column="39" selection-end-line="16" selection-end-column="39" />
73
+                  <folding>
74
+                    <element signature="e#392#393#0" expanded="true" />
75
+                  </folding>
76
+                </state>
77
+              </provider>
78
+            </entry>
79
+          </file>
80
+          <file pinned="false" current-in-tab="false">
81
+            <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/People.java">
82
+              <provider selected="true" editor-type-id="text-editor">
83
+                <state relative-caret-position="330">
84
+                  <caret line="32" selection-start-line="32" selection-end-line="32" />
85
+                  <folding>
86
+                    <element signature="imports" expanded="true" />
87
+                    <element signature="e#1350#1351#0" expanded="true" />
88
+                    <element signature="e#1394#1395#0" expanded="true" />
89
+                  </folding>
90
+                </state>
91
+              </provider>
92
+            </entry>
93
+          </file>
94
+          <file pinned="false" current-in-tab="true">
95
+            <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/StudentConfig.java">
96
+              <provider selected="true" editor-type-id="text-editor">
97
+                <state relative-caret-position="120">
98
+                  <caret line="8" column="23" lean-forward="true" selection-start-line="8" selection-start-column="18" selection-end-line="8" selection-end-column="19" />
99
+                  <folding>
100
+                    <element signature="imports" expanded="true" />
101
+                    <element signature="e#267#268#0" expanded="true" />
102
+                    <element signature="e#304#305#0" expanded="true" />
103
+                    <element signature="e#382#383#0" expanded="true" />
104
+                    <element signature="e#419#420#0" expanded="true" />
105
+                  </folding>
106
+                </state>
107
+              </provider>
108
+            </entry>
109
+          </file>
110
+          <file pinned="false" current-in-tab="false">
111
+            <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/InstructorsConfig.java">
112
+              <provider selected="true" editor-type-id="text-editor">
113
+                <state relative-caret-position="120">
114
+                  <caret line="9" column="33" selection-start-line="9" selection-start-column="33" selection-end-line="9" selection-end-column="33" />
115
+                  <folding>
116
+                    <element signature="imports" expanded="true" />
117
+                  </folding>
118
+                </state>
119
+              </provider>
120
+            </entry>
121
+          </file>
122
+          <file pinned="false" current-in-tab="false">
123
+            <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/ClassroomConfig.java">
124
+              <provider selected="true" editor-type-id="text-editor">
125
+                <state relative-caret-position="135">
126
+                  <caret line="9" column="34" lean-forward="true" selection-start-line="9" selection-start-column="34" selection-end-line="9" selection-end-column="34" />
127
+                  <folding>
128
+                    <element signature="imports" expanded="true" />
129
+                  </folding>
130
+                </state>
131
+              </provider>
132
+            </entry>
133
+          </file>
134
+        </leaf>
135
+      </split-first>
136
+      <split-second>
137
+        <leaf>
138
+          <file pinned="false" current-in-tab="false">
139
+            <entry file="file://$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/StudentConfigTest.java">
140
+              <provider selected="true" editor-type-id="text-editor">
141
+                <state relative-caret-position="33">
142
+                  <caret line="15" column="32" lean-forward="true" selection-start-line="15" selection-start-column="32" selection-end-line="15" selection-end-column="32" />
143
+                  <folding>
144
+                    <element signature="imports" expanded="true" />
145
+                    <element signature="e#879#880#0" expanded="true" />
146
+                    <element signature="e#916#917#0" expanded="true" />
147
+                    <element signature="e#1007#1008#0" expanded="true" />
148
+                    <element signature="e#1092#1093#0" expanded="true" />
149
+                    <element signature="e#1143#1144#0" expanded="true" />
150
+                    <element signature="e#1164#1165#0" expanded="true" />
151
+                  </folding>
152
+                </state>
153
+              </provider>
154
+            </entry>
155
+          </file>
156
+          <file pinned="false" current-in-tab="false">
157
+            <entry file="file://$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/InstructorConfigTest.java">
158
+              <provider selected="true" editor-type-id="text-editor">
159
+                <state relative-caret-position="720">
160
+                  <caret line="48" column="46" selection-start-line="48" selection-start-column="46" selection-end-line="48" selection-end-column="46" />
161
+                  <folding>
162
+                    <element signature="imports" expanded="true" />
163
+                    <element signature="e#1053#1054#0" expanded="true" />
164
+                    <element signature="e#1090#1091#0" expanded="true" />
165
+                    <element signature="e#1185#1186#0" expanded="true" />
166
+                    <element signature="e#1276#1277#0" expanded="true" />
167
+                    <element signature="e#1319#1320#0" expanded="true" />
168
+                    <element signature="e#1359#1360#0" expanded="true" />
169
+                  </folding>
170
+                </state>
171
+              </provider>
172
+            </entry>
173
+          </file>
174
+          <file pinned="false" current-in-tab="true">
175
+            <entry file="file://$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/ClassroomConfigTest.java">
176
+              <provider selected="true" editor-type-id="text-editor">
177
+                <state relative-caret-position="209">
178
+                  <caret line="17" lean-forward="true" selection-start-line="17" selection-end-line="17" />
179
+                  <folding>
180
+                    <element signature="imports" expanded="true" />
181
+                    <element signature="e#862#863#0" expanded="true" />
182
+                    <element signature="e#945#946#0" expanded="true" />
183
+                    <element signature="e#997#998#0" expanded="true" />
184
+                    <element signature="e#1080#1081#0" expanded="true" />
185
+                    <element signature="e#1126#1127#0" expanded="true" />
186
+                    <element signature="e#1147#1148#0" expanded="true" />
187
+                  </folding>
188
+                </state>
189
+              </provider>
190
+            </entry>
191
+          </file>
192
+        </leaf>
193
+      </split-second>
194
+    </splitter>
181 195
   </component>
182 196
   <component name="FileTemplateManagerImpl">
183 197
     <option name="RECENT_TEMPLATES">
@@ -202,6 +216,13 @@
202 216
         <option value="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Instructors.java" />
203 217
         <option value="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/People.java" />
204 218
         <option value="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Classroom.java" />
219
+        <option value="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/InstructorsConfig.java" />
220
+        <option value="$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/BeanjawnApplicationTests.java" />
221
+        <option value="$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/InstructorConfig.java" />
222
+        <option value="$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/StudentConfigTest.java" />
223
+        <option value="$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/InstructorConfigTest.java" />
224
+        <option value="$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/ClassroomConfigTest.java" />
225
+        <option value="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/ClassroomConfig.java" />
205 226
         <option value="$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/StudentConfig.java" />
206 227
       </list>
207 228
     </option>
@@ -213,10 +234,33 @@
213 234
     <sorting>DEFINITION_ORDER</sorting>
214 235
   </component>
215 236
   <component name="ProjectFrameBounds">
216
-    <option name="x" value="-116" />
217
-    <option name="y" value="-881" />
218
-    <option name="width" value="1031" />
219
-    <option name="height" value="740" />
237
+    <option name="x" value="-273" />
238
+    <option name="y" value="-1047" />
239
+    <option name="width" value="1504" />
240
+    <option name="height" value="921" />
241
+  </component>
242
+  <component name="ProjectInspectionProfilesVisibleTreeState">
243
+    <entry key="Project Default">
244
+      <profile-state>
245
+        <expanded-state>
246
+          <State />
247
+          <State>
248
+            <id>CodeSpring CoreSpring</id>
249
+          </State>
250
+          <State>
251
+            <id>Spring</id>
252
+          </State>
253
+          <State>
254
+            <id>Spring CoreSpring</id>
255
+          </State>
256
+        </expanded-state>
257
+        <selected-state>
258
+          <State>
259
+            <id>SpringJavaInjectionPointsAutowiringInspection</id>
260
+          </State>
261
+        </selected-state>
262
+      </profile-state>
263
+    </entry>
220 264
   </component>
221 265
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
222 266
   <component name="ProjectView">
@@ -224,6 +268,8 @@
224 268
       <foldersAlwaysOnTop value="true" />
225 269
     </navigator>
226 270
     <panes>
271
+      <pane id="Scope" />
272
+      <pane id="PackagesPane" />
227 273
       <pane id="ProjectPane">
228 274
         <subPane>
229 275
           <expand>
@@ -264,14 +310,12 @@
264 310
           <select />
265 311
         </subPane>
266 312
       </pane>
267
-      <pane id="Scope" />
268
-      <pane id="PackagesPane" />
269 313
     </panes>
270 314
   </component>
271 315
   <component name="PropertiesComponent">
272 316
     <property name="WebServerToolWindowFactoryState" value="false" />
273 317
     <property name="aspect.path.notification.shown" value="true" />
274
-    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1545063695027" />
318
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1546823834160" />
275 319
     <property name="last_opened_file_path" value="$PROJECT_DIR$/pom.xml" />
276 320
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
277 321
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
@@ -288,6 +332,29 @@
288 332
       </list>
289 333
     </option>
290 334
   </component>
335
+  <component name="RunManager">
336
+    <configuration name="TestStudentConfig.testCurrentStudents" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
337
+      <module name="beanjawn" />
338
+      <extension name="coverage">
339
+        <pattern>
340
+          <option name="PATTERN" value="java.com.zipcode.wilmington.beanjawn.*" />
341
+          <option name="ENABLED" value="true" />
342
+        </pattern>
343
+      </extension>
344
+      <option name="PACKAGE_NAME" value="java.com.zipcode.wilmington.beanjawn" />
345
+      <option name="MAIN_CLASS_NAME" value="java.com.zipcode.wilmington.beanjawn.TestStudentConfig" />
346
+      <option name="METHOD_NAME" value="testCurrentStudents" />
347
+      <option name="TEST_OBJECT" value="method" />
348
+      <method v="2">
349
+        <option name="Make" enabled="true" />
350
+      </method>
351
+    </configuration>
352
+    <recent_temporary>
353
+      <list>
354
+        <item itemvalue="JUnit.TestStudentConfig.testCurrentStudents" />
355
+      </list>
356
+    </recent_temporary>
357
+  </component>
291 358
   <component name="SvnConfiguration">
292 359
     <configuration />
293 360
   </component>
@@ -298,48 +365,57 @@
298 365
       <option name="number" value="Default" />
299 366
       <option name="presentableId" value="Default" />
300 367
       <updated>1544810070163</updated>
301
-      <workItem from="1544810074468" duration="14007000" />
368
+      <workItem from="1544810074468" duration="18484000" />
369
+      <workItem from="1545151915476" duration="1834000" />
370
+      <workItem from="1546808491651" duration="5311000" />
302 371
     </task>
303 372
     <servers />
304 373
   </component>
374
+  <component name="TestHistory">
375
+    <history-entry file="StudentConfigTest_testCurrentStudents - 2019.01.06 at 19h 32m 16s.xml">
376
+      <configuration name="StudentConfigTest.testCurrentStudents" configurationId="JUnit" />
377
+    </history-entry>
378
+  </component>
305 379
   <component name="TimeTrackingManager">
306
-    <option name="totallyTimeSpent" value="14007000" />
380
+    <option name="totallyTimeSpent" value="25629000" />
307 381
   </component>
308 382
   <component name="ToolWindowManager">
309
-    <frame x="-116" y="-881" width="1031" height="740" extended-state="0" />
383
+    <frame x="-273" y="-1047" width="1504" height="921" extended-state="0" />
310 384
     <editor active="true" />
311 385
     <layout>
312
-      <window_info id="Designer" />
313
-      <window_info id="Image Layers" />
314
-      <window_info id="UI Designer" />
315
-      <window_info id="Favorites" side_tool="true" />
316
-      <window_info id="Capture Tool" />
317
-      <window_info id="Web" side_tool="true" />
318
-      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.13751264" />
386
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.12927496" />
319 387
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
320
-      <window_info anchor="bottom" id="Spring" />
321
-      <window_info anchor="bottom" id="Terminal" weight="0.3344" />
322
-      <window_info anchor="bottom" id="Event Log" side_tool="true" />
323
-      <window_info anchor="bottom" id="Java Enterprise" />
324
-      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
325
-      <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
388
+      <window_info id="Designer" order="2" />
389
+      <window_info id="Image Layers" order="3" />
390
+      <window_info id="UI Designer" order="4" />
391
+      <window_info id="Favorites" order="5" side_tool="true" />
392
+      <window_info id="Capture Tool" order="6" />
393
+      <window_info id="Web" order="7" side_tool="true" />
394
+      <window_info anchor="bottom" id="Messages" />
395
+      <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
326 396
       <window_info anchor="bottom" id="Message" order="0" />
327
-      <window_info active="true" anchor="bottom" id="Find" order="1" visible="true" weight="0.3856" />
328
-      <window_info anchor="bottom" id="Run" order="2" />
397
+      <window_info anchor="bottom" id="Find" order="1" weight="0.3662614" />
398
+      <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.30272952" />
329 399
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
330 400
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
331 401
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
332 402
       <window_info anchor="bottom" id="TODO" order="6" />
333
-      <window_info anchor="right" id="Palette" />
334
-      <window_info anchor="right" id="Capture Analysis" />
335
-      <window_info anchor="right" id="Maven Projects" />
336
-      <window_info anchor="right" id="Database" />
337
-      <window_info anchor="right" id="Palette&#9;" />
338
-      <window_info anchor="right" id="Theme Preview" />
339
-      <window_info anchor="right" id="Bean Validation" />
403
+      <window_info anchor="bottom" id="Spring" order="7" />
404
+      <window_info anchor="bottom" id="Terminal" order="8" weight="0.2968961" />
405
+      <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
406
+      <window_info anchor="bottom" id="Java Enterprise" order="10" />
407
+      <window_info anchor="bottom" id="Database Changes" order="11" show_stripe_button="false" />
408
+      <window_info anchor="bottom" id="Version Control" order="12" show_stripe_button="false" />
340 409
       <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
341 410
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
342 411
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
412
+      <window_info anchor="right" id="Palette" order="3" />
413
+      <window_info anchor="right" id="Capture Analysis" order="4" />
414
+      <window_info anchor="right" id="Maven Projects" order="5" />
415
+      <window_info anchor="right" id="Database" order="6" />
416
+      <window_info anchor="right" id="Palette&#9;" order="7" />
417
+      <window_info anchor="right" id="Theme Preview" order="8" />
418
+      <window_info anchor="right" id="Bean Validation" order="9" weight="0.32954547" />
343 419
     </layout>
344 420
   </component>
345 421
   <component name="TypeScriptGeneratedFilesManager">
@@ -349,35 +425,81 @@
349 425
     <option name="myLimit" value="2678400000" />
350 426
   </component>
351 427
   <component name="editorHistoryManager">
352
-    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Student.java">
428
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Learner.java">
353 429
       <provider selected="true" editor-type-id="text-editor">
354
-        <state relative-caret-position="236">
355
-          <caret line="16" column="39" selection-start-line="16" selection-start-column="39" selection-end-line="16" selection-end-column="39" />
430
+        <state relative-caret-position="60">
431
+          <caret line="4" column="44" lean-forward="true" selection-start-line="4" selection-start-column="44" selection-end-line="4" selection-end-column="44" />
432
+        </state>
433
+      </provider>
434
+    </entry>
435
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Teacher.java">
436
+      <provider selected="true" editor-type-id="text-editor">
437
+        <state relative-caret-position="120">
438
+          <caret line="8" selection-start-line="8" selection-end-line="8" />
439
+        </state>
440
+      </provider>
441
+    </entry>
442
+    <entry file="file://$PROJECT_DIR$/pom.xml">
443
+      <provider selected="true" editor-type-id="text-editor">
444
+        <state relative-caret-position="-144" />
445
+      </provider>
446
+    </entry>
447
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Students.java">
448
+      <provider selected="true" editor-type-id="text-editor">
449
+        <state relative-caret-position="135">
450
+          <caret line="13" selection-start-line="13" selection-end-line="13" />
356 451
           <folding>
357
-            <element signature="e#140#141#0" expanded="true" />
358
-            <element signature="e#171#172#0" expanded="true" />
359
-            <element signature="e#392#393#0" expanded="true" />
452
+            <element signature="imports" expanded="true" />
360 453
           </folding>
361 454
         </state>
362 455
       </provider>
363 456
     </entry>
364
-    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Learner.java">
457
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Instructors.java">
365 458
       <provider selected="true" editor-type-id="text-editor">
366
-        <state relative-caret-position="60">
367
-          <caret line="4" column="44" lean-forward="true" selection-start-line="4" selection-start-column="44" selection-end-line="4" selection-end-column="44" />
459
+        <state relative-caret-position="105">
460
+          <caret line="9" selection-start-line="9" selection-end-line="9" />
461
+          <folding>
462
+            <element signature="e#176#177#0" expanded="true" />
463
+            <element signature="e#210#211#0" expanded="true" />
464
+          </folding>
368 465
         </state>
369 466
       </provider>
370 467
     </entry>
371
-    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Teacher.java">
468
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Classroom.java">
469
+      <provider selected="true" editor-type-id="text-editor">
470
+        <state relative-caret-position="240">
471
+          <caret line="16" column="49" selection-start-line="16" selection-start-column="49" selection-end-line="16" selection-end-column="49" />
472
+          <folding>
473
+            <element signature="e#366#367#0" expanded="true" />
474
+            <element signature="e#422#423#0" expanded="true" />
475
+          </folding>
476
+        </state>
477
+      </provider>
478
+    </entry>
479
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/InstructorsConfig.java">
372 480
       <provider selected="true" editor-type-id="text-editor">
373 481
         <state relative-caret-position="120">
374
-          <caret line="8" selection-start-line="8" selection-end-line="8" />
482
+          <caret line="9" column="33" selection-start-line="9" selection-start-column="33" selection-end-line="9" selection-end-column="33" />
483
+          <folding>
484
+            <element signature="imports" expanded="true" />
485
+          </folding>
486
+        </state>
487
+      </provider>
488
+    </entry>
489
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Instructor.java">
490
+      <provider selected="true" editor-type-id="text-editor">
491
+        <state relative-caret-position="375">
492
+          <caret line="25" selection-start-line="25" selection-end-line="25" />
493
+          <folding>
494
+            <element signature="e#146#147#0" expanded="true" />
495
+            <element signature="e#177#178#0" expanded="true" />
496
+          </folding>
375 497
         </state>
376 498
       </provider>
377 499
     </entry>
378 500
     <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Person.java">
379 501
       <provider selected="true" editor-type-id="text-editor">
380
-        <state relative-caret-position="164">
502
+        <state relative-caret-position="165">
381 503
           <caret line="11" column="25" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="25" />
382 504
           <folding>
383 505
             <element signature="e#247#248#0" expanded="true" />
@@ -389,73 +511,80 @@
389 511
         </state>
390 512
       </provider>
391 513
     </entry>
392
-    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Instructor.java">
514
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Student.java">
393 515
       <provider selected="true" editor-type-id="text-editor">
394
-        <state relative-caret-position="375">
395
-          <caret line="25" lean-forward="true" selection-start-line="25" selection-end-line="25" />
516
+        <state relative-caret-position="210">
517
+          <caret line="16" column="39" selection-start-line="16" selection-start-column="39" selection-end-line="16" selection-end-column="39" />
396 518
           <folding>
397
-            <element signature="e#146#147#0" expanded="true" />
398
-            <element signature="e#177#178#0" expanded="true" />
519
+            <element signature="e#392#393#0" expanded="true" />
399 520
           </folding>
400 521
         </state>
401 522
       </provider>
402 523
     </entry>
403
-    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Students.java">
524
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/People.java">
404 525
       <provider selected="true" editor-type-id="text-editor">
405
-        <state relative-caret-position="195">
406
-          <caret line="13" lean-forward="true" selection-start-line="13" selection-end-line="13" />
526
+        <state relative-caret-position="330">
527
+          <caret line="32" selection-start-line="32" selection-end-line="32" />
407 528
           <folding>
408 529
             <element signature="imports" expanded="true" />
409
-            <element signature="e#219#220#0" expanded="true" />
410
-            <element signature="e#243#244#0" expanded="true" />
530
+            <element signature="e#1350#1351#0" expanded="true" />
531
+            <element signature="e#1394#1395#0" expanded="true" />
411 532
           </folding>
412 533
         </state>
413 534
       </provider>
414 535
     </entry>
415
-    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/People.java">
536
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/BeanjawnApplication.java">
537
+      <provider selected="true" editor-type-id="text-editor">
538
+        <state relative-caret-position="60">
539
+          <caret line="5" selection-start-line="5" selection-end-line="5" />
540
+        </state>
541
+      </provider>
542
+    </entry>
543
+    <entry file="file://$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/BeanjawnApplicationTests.java">
416 544
       <provider selected="true" editor-type-id="text-editor">
417
-        <state relative-caret-position="250">
418
-          <caret line="62" column="37" selection-start-line="62" selection-start-column="37" selection-end-line="62" selection-end-column="37" />
545
+        <state>
546
+          <caret selection-end-line="16" selection-end-column="1" />
547
+        </state>
548
+      </provider>
549
+    </entry>
550
+    <entry file="file://$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/InstructorConfigTest.java">
551
+      <provider selected="true" editor-type-id="text-editor">
552
+        <state relative-caret-position="720">
553
+          <caret line="48" column="46" selection-start-line="48" selection-start-column="46" selection-end-line="48" selection-end-column="46" />
419 554
           <folding>
420 555
             <element signature="imports" expanded="true" />
421
-            <element signature="e#318#319#0" expanded="true" />
422
-            <element signature="e#369#370#0" expanded="true" />
423
-            <element signature="e#421#422#0" expanded="true" />
424
-            <element signature="e#461#462#0" expanded="true" />
425
-            <element signature="e#499#500#0" expanded="true" />
426
-            <element signature="e#533#534#0" expanded="true" />
427
-            <element signature="e#574#575#0" expanded="true" />
428
-            <element signature="e#611#612#0" expanded="true" />
429
-            <element signature="e#640#641#0" expanded="true" />
430
-            <element signature="e#680#681#0" expanded="true" />
431
-            <element signature="e#707#708#0" expanded="true" />
432
-            <element signature="e#741#742#0" expanded="true" />
433
-            <element signature="e#1121#1122#0" expanded="true" />
434
-            <element signature="e#1154#1155#0" expanded="true" />
435
-            <element signature="e#1350#1351#0" expanded="true" />
436
-            <element signature="e#1382#1383#0" expanded="true" />
556
+            <element signature="e#1053#1054#0" expanded="true" />
557
+            <element signature="e#1090#1091#0" expanded="true" />
558
+            <element signature="e#1185#1186#0" expanded="true" />
559
+            <element signature="e#1276#1277#0" expanded="true" />
560
+            <element signature="e#1319#1320#0" expanded="true" />
561
+            <element signature="e#1359#1360#0" expanded="true" />
437 562
           </folding>
438 563
         </state>
439 564
       </provider>
440 565
     </entry>
441
-    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Instructors.java">
566
+    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/ClassroomConfig.java">
442 567
       <provider selected="true" editor-type-id="text-editor">
443 568
         <state relative-caret-position="135">
444
-          <caret line="9" lean-forward="true" selection-start-line="9" selection-end-line="9" />
569
+          <caret line="9" column="34" lean-forward="true" selection-start-line="9" selection-start-column="34" selection-end-line="9" selection-end-column="34" />
445 570
           <folding>
446
-            <element signature="e#176#177#0" expanded="true" />
447
-            <element signature="e#196#197#0" expanded="true" />
571
+            <element signature="imports" expanded="true" />
448 572
           </folding>
449 573
         </state>
450 574
       </provider>
451 575
     </entry>
452
-    <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/Classroom.java">
576
+    <entry file="file://$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/StudentConfigTest.java">
453 577
       <provider selected="true" editor-type-id="text-editor">
454
-        <state relative-caret-position="232">
455
-          <caret line="16" column="49" lean-forward="true" selection-start-line="16" selection-start-column="49" selection-end-line="16" selection-end-column="49" />
578
+        <state relative-caret-position="33">
579
+          <caret line="15" column="32" lean-forward="true" selection-start-line="15" selection-start-column="32" selection-end-line="15" selection-end-column="32" />
456 580
           <folding>
457
-            <element signature="e#366#367#0" expanded="true" />
458
-            <element signature="e#399#400#0" expanded="true" />
581
+            <element signature="imports" expanded="true" />
582
+            <element signature="e#879#880#0" expanded="true" />
583
+            <element signature="e#916#917#0" expanded="true" />
584
+            <element signature="e#1007#1008#0" expanded="true" />
585
+            <element signature="e#1092#1093#0" expanded="true" />
586
+            <element signature="e#1143#1144#0" expanded="true" />
587
+            <element signature="e#1164#1165#0" expanded="true" />
459 588
           </folding>
460 589
         </state>
461 590
       </provider>
@@ -463,7 +592,30 @@
463 592
     <entry file="file://$PROJECT_DIR$/main/java/com/zipcode/wilmington/beanjawn/StudentConfig.java">
464 593
       <provider selected="true" editor-type-id="text-editor">
465 594
         <state relative-caret-position="120">
466
-          <caret line="8" column="8" lean-forward="true" selection-start-line="8" selection-start-column="8" selection-end-line="8" selection-end-column="8" />
595
+          <caret line="8" column="23" lean-forward="true" selection-start-line="8" selection-start-column="18" selection-end-line="8" selection-end-column="19" />
596
+          <folding>
597
+            <element signature="imports" expanded="true" />
598
+            <element signature="e#267#268#0" expanded="true" />
599
+            <element signature="e#304#305#0" expanded="true" />
600
+            <element signature="e#382#383#0" expanded="true" />
601
+            <element signature="e#419#420#0" expanded="true" />
602
+          </folding>
603
+        </state>
604
+      </provider>
605
+    </entry>
606
+    <entry file="file://$PROJECT_DIR$/test/java/com/zipcode/wilmington/beanjawn/ClassroomConfigTest.java">
607
+      <provider selected="true" editor-type-id="text-editor">
608
+        <state relative-caret-position="209">
609
+          <caret line="17" lean-forward="true" selection-start-line="17" selection-end-line="17" />
610
+          <folding>
611
+            <element signature="imports" expanded="true" />
612
+            <element signature="e#862#863#0" expanded="true" />
613
+            <element signature="e#945#946#0" expanded="true" />
614
+            <element signature="e#997#998#0" expanded="true" />
615
+            <element signature="e#1080#1081#0" expanded="true" />
616
+            <element signature="e#1126#1127#0" expanded="true" />
617
+            <element signature="e#1147#1148#0" expanded="true" />
618
+          </folding>
467 619
         </state>
468 620
       </provider>
469 621
     </entry>

+ 23
- 0
src/main/java/com/zipcode/wilmington/beanjawn/ClassroomConfig.java Прегледај датотеку

@@ -0,0 +1,23 @@
1
+package com.zipcode.wilmington.beanjawn;
2
+
3
+import org.springframework.context.annotation.Bean;
4
+import org.springframework.context.annotation.Configuration;
5
+import org.springframework.context.annotation.DependsOn;
6
+
7
+@Configuration
8
+public class ClassroomConfig {
9
+
10
+    @Bean (name = "currentCohort")
11
+//    DependsOn({"instructors", "students"})
12
+    public Classroom currentCohort(Instructors instructors, Students students){
13
+        return new Classroom(instructors, students);
14
+
15
+    }
16
+
17
+    @Bean (name = "previousCohort")
18
+//    DependsOn({"instructors", "previousStudents"})
19
+    public Classroom previousCohort(Instructors instructors, Students previousStudents){
20
+        return new Classroom(instructors, previousStudents);
21
+
22
+    }
23
+}

+ 23
- 0
src/main/java/com/zipcode/wilmington/beanjawn/InstructorsConfig.java Прегледај датотеку

@@ -1,4 +1,27 @@
1 1
 package com.zipcode.wilmington.beanjawn;
2 2
 
3
+import org.springframework.context.annotation.Bean;
4
+import org.springframework.context.annotation.Primary;
5
+
3 6
 public class InstructorsConfig {
7
+
8
+    @Bean (name = "tcUsaInstructors")
9
+    public Instructors tcUsaInstructors(){
10
+        return new Instructors();
11
+
12
+    }
13
+
14
+    @Bean (name = "tcUkInstructors")
15
+    public Instructors tcUkInstructors(){
16
+        return new Instructors();
17
+
18
+    }
19
+
20
+    @Bean (name = "instructors")
21
+    @Primary
22
+    public Instructors instructors(){
23
+        return new Instructors();
24
+
25
+    }
26
+
4 27
 }

+ 2
- 2
src/main/java/com/zipcode/wilmington/beanjawn/StudentConfig.java Прегледај датотеку

@@ -1,18 +1,18 @@
1 1
 package com.zipcode.wilmington.beanjawn;
2 2
 
3 3
 import org.springframework.context.annotation.Bean;
4
+import org.springframework.context.annotation.Configuration;
4 5
 
6
+@Configuration
5 7
 public class StudentConfig {
6 8
 
7 9
     @Bean(name = "students")
8 10
     public Students currentStudents(){
9 11
         return new Students();
10
-
11 12
     }
12 13
 
13 14
     @Bean(name = "previousStudents")
14 15
     public Students previousStudents(){
15 16
         return new Students();
16
-
17 17
     }
18 18
 }

BIN
src/target/classes/com/zipcode/wilmington/beanjawn/BeanjawnApplication.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/Classroom.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/ClassroomConfig.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/Instructor.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/Instructors.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/InstructorsConfig.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/Learner.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/People.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/Person.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/Student.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/StudentConfig.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/Students.class Прегледај датотеку


BIN
src/target/classes/com/zipcode/wilmington/beanjawn/Teacher.class Прегледај датотеку


BIN
src/target/test-classes/java/com/zipcode/wilmington/beanjawn/StudentConfigTest.class Прегледај датотеку


+ 0
- 17
src/test/java/com/zipcode/wilmington/beanjawn/BeanjawnApplicationTests.java Прегледај датотеку

@@ -1,17 +0,0 @@
1
-package com.zipcode.wilmington.beanjawn;
2
-
3
-import org.junit.Test;
4
-import org.junit.runner.RunWith;
5
-import org.springframework.boot.test.context.SpringBootTest;
6
-import org.springframework.test.context.junit4.SpringRunner;
7
-
8
-@RunWith(SpringRunner.class)
9
-@SpringBootTest
10
-public class BeanjawnApplicationTests {
11
-
12
-	@Test
13
-	public void contextLoads() {
14
-	}
15
-
16
-}
17
-

+ 42
- 0
src/test/java/com/zipcode/wilmington/beanjawn/ClassroomConfigTest.java Прегледај датотеку

@@ -0,0 +1,42 @@
1
+package java.com.zipcode.wilmington.beanjawn;
2
+
3
+import com.zipcode.wilmington.beanjawn.Classroom;
4
+import com.zipcode.wilmington.beanjawn.ClassroomConfig;
5
+import org.junit.Assert;
6
+import org.junit.Before;
7
+import org.junit.Test;
8
+import org.junit.runner.RunWith;
9
+import org.springframework.beans.factory.annotation.Autowired;
10
+import org.springframework.boot.test.context.SpringBootTest;
11
+import org.springframework.test.context.junit4.SpringRunner;
12
+
13
+@RunWith(SpringRunner.class)
14
+@SpringBootTest
15
+public class ClassroomConfigTest {
16
+
17
+    private Classroom currentCohort, previousCohort;
18
+
19
+    @Autowired
20
+    private ClassroomConfig classroomConfig;
21
+
22
+    @Before
23
+    public void setUp(){
24
+        currentCohort = classroomConfig.currentCohort();
25
+        previousCohort = classroomConfig.previousCohort();
26
+    }
27
+
28
+    @Test
29
+    public void testCurrentCohort(){
30
+        Assert.assertEquals(currentCohort, classroomConfig.currentCohort());
31
+    }
32
+
33
+    @Test
34
+    public void testPreviousCohort(){
35
+        Assert.assertEquals(previousCohort, classroomConfig.previousCohort());
36
+    }
37
+
38
+    @Test
39
+    public void testNotEqual(){
40
+        Assert.assertNotEquals(currentCohort, previousCohort);
41
+    }
42
+}

+ 53
- 0
src/test/java/com/zipcode/wilmington/beanjawn/InstructorConfigTest.java Прегледај датотеку

@@ -0,0 +1,53 @@
1
+package java.com.zipcode.wilmington.beanjawn;
2
+
3
+import com.zipcode.wilmington.beanjawn.Instructor;
4
+import com.zipcode.wilmington.beanjawn.Instructors;
5
+import com.zipcode.wilmington.beanjawn.InstructorsConfig;
6
+import org.junit.Assert;
7
+import org.junit.Before;
8
+import org.junit.Test;
9
+import org.junit.runner.RunWith;
10
+import org.springframework.beans.factory.annotation.Autowired;
11
+import org.springframework.boot.test.context.SpringBootTest;
12
+import org.springframework.test.context.junit4.SpringRunner;
13
+
14
+@RunWith(SpringRunner.class)
15
+@SpringBootTest
16
+public class InstructorConfigTest {
17
+
18
+    private Instructors tcUsaInstructors;
19
+    private Instructors tcUkInstructors;
20
+    private Instructors instructors;
21
+
22
+    @Autowired
23
+    private InstructorsConfig instructorsConfig;
24
+
25
+    @Before
26
+    public void setUp(){
27
+        tcUsaInstructors = instructorsConfig.tcUsaInstructors();
28
+        tcUkInstructors = instructorsConfig.tcUkInstructors();
29
+        instructors = instructorsConfig.instructors();
30
+    }
31
+
32
+    @Test
33
+    public void testUsaInstructors(){
34
+        Assert.assertEquals(tcUsaInstructors, instructorsConfig.tcUsaInstructors());
35
+    }
36
+
37
+    @Test
38
+    public void testUkInstructors(){
39
+        Assert.assertEquals(tcUkInstructors, instructorsConfig.tcUkInstructors());
40
+    }
41
+
42
+    @Test
43
+    public void testInstructors(){
44
+        Assert.assertEquals(instructors, instructorsConfig.instructors());
45
+    }
46
+
47
+    @Test
48
+    public void testNotEquals(){
49
+        Assert.assertNotEquals(tcUsaInstructors, tcUkInstructors);
50
+        Assert.assertNotEquals(tcUsaInstructors, instructors);
51
+        Assert.assertNotEquals(tcUkInstructors, instructors);
52
+    }
53
+}

+ 45
- 0
src/test/java/com/zipcode/wilmington/beanjawn/StudentConfigTest.java Прегледај датотеку

@@ -0,0 +1,45 @@
1
+package java.com.zipcode.wilmington.beanjawn;
2
+
3
+
4
+import com.zipcode.wilmington.beanjawn.StudentConfig;
5
+import com.zipcode.wilmington.beanjawn.Students;
6
+import org.junit.Assert;
7
+import org.junit.Before;
8
+import org.junit.Test;
9
+import org.junit.runner.RunWith;
10
+import org.springframework.beans.factory.annotation.Autowired;
11
+import org.springframework.boot.test.context.SpringBootTest;
12
+import org.springframework.test.context.junit4.SpringRunner;
13
+
14
+@RunWith(SpringRunner.class)
15
+@SpringBootTest
16
+public class StudentConfigTest {
17
+
18
+    private Students currentStudents;
19
+    private Students previousStudents;
20
+
21
+    @Autowired
22
+    private StudentConfig studentConfig;
23
+
24
+    @Before
25
+    public void setUp(){
26
+        currentStudents = studentConfig.currentStudents();
27
+        previousStudents = studentConfig.previousStudents();
28
+    }
29
+
30
+    @Test
31
+    public void testCurrentStudents(){
32
+        Assert.assertEquals(currentStudents, studentConfig.currentStudents());
33
+    }
34
+
35
+    @Test
36
+    public void testPreviousStudents(){
37
+        Assert.assertEquals(previousStudents, studentConfig.previousStudents());
38
+    }
39
+
40
+    @Test
41
+    public void testNotEquals(){
42
+        Assert.assertNotEquals(currentStudents, previousStudents);
43
+    }
44
+
45
+}