Browse Source

Completed Lab

De'Jon Johnson 6 years ago
parent
commit
889136cf10

+ 2
- 0
.idea/compiler.xml View File

@@ -7,10 +7,12 @@
7 7
         <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8 8
         <outputRelativeToContentRoot value="true" />
9 9
         <module name="bankaccountlab" />
10
+        <module name="productmanager" />
10 11
       </profile>
11 12
     </annotationProcessing>
12 13
     <bytecodeTargetLevel target="1.8">
13 14
       <module name="bankaccountlab" target="1.5" />
15
+      <module name="productmanager" target="1.5" />
14 16
     </bytecodeTargetLevel>
15 17
   </component>
16 18
 </project>

+ 13
- 0
.idea/libraries/Maven__junit_junit_4_12.xml View File

@@ -0,0 +1,13 @@
1
+<component name="libraryTable">
2
+  <library name="Maven: junit:junit:4.12">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 13
- 0
.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml View File

@@ -0,0 +1,13 @@
1
+<component name="libraryTable">
2
+  <library name="Maven: org.hamcrest:hamcrest-core:1.3">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 1
- 0
.idea/modules.xml View File

@@ -3,6 +3,7 @@
3 3
   <component name="ProjectModuleManager">
4 4
     <modules>
5 5
       <module fileurl="file://$PROJECT_DIR$/bankaccountlab.iml" filepath="$PROJECT_DIR$/bankaccountlab.iml" />
6
+      <module fileurl="file://$PROJECT_DIR$/productmanager.iml" filepath="$PROJECT_DIR$/productmanager.iml" />
6 7
     </modules>
7 8
   </component>
8 9
 </project>

+ 459
- 398
.idea/workspace.xml View File

@@ -1,78 +1,144 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4
-    <list default="true" id="268ab437-e0d5-4447-8401-9f321aad6d50" name="Default" comment="" />
4
+    <list default="true" id="268ab437-e0d5-4447-8401-9f321aad6d50" name="Default" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__junit_junit_4_12.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java" afterDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" afterDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java" afterDir="false" />
15
+    </list>
5 16
     <ignored path="$PROJECT_DIR$/out/" />
6 17
     <ignored path="$PROJECT_DIR$/target/" />
7 18
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
-    <option name="TRACKING_ENABLED" value="true" />
9 19
     <option name="SHOW_DIALOG" value="false" />
10 20
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
11 21
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12 22
     <option name="LAST_RESOLUTION" value="IGNORE" />
13 23
   </component>
14
-  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
24
+  <component name="FUSProjectUsageTrigger">
25
+    <session id="-1076070019">
26
+      <usages-collector id="statistics.lifecycle.project">
27
+        <counts>
28
+          <entry key="project.closed" value="2" />
29
+          <entry key="project.open.time.1" value="2" />
30
+          <entry key="project.open.time.3" value="1" />
31
+          <entry key="project.opened" value="3" />
32
+        </counts>
33
+      </usages-collector>
34
+      <usages-collector id="statistics.file.extensions.edit">
35
+        <counts>
36
+          <entry key="java" value="160" />
37
+        </counts>
38
+      </usages-collector>
39
+      <usages-collector id="statistics.file.types.edit">
40
+        <counts>
41
+          <entry key="JAVA" value="160" />
42
+        </counts>
43
+      </usages-collector>
44
+      <usages-collector id="statistics.file.extensions.open">
45
+        <counts>
46
+          <entry key="java" value="1" />
47
+        </counts>
48
+      </usages-collector>
49
+      <usages-collector id="statistics.file.types.open">
50
+        <counts>
51
+          <entry key="JAVA" value="1" />
52
+        </counts>
53
+      </usages-collector>
54
+    </session>
55
+    <session id="383848389">
56
+      <usages-collector id="statistics.lifecycle.project">
57
+        <counts>
58
+          <entry key="project.closed" value="5" />
59
+          <entry key="project.open.time.1" value="2" />
60
+          <entry key="project.open.time.3" value="1" />
61
+          <entry key="project.open.time.8" value="1" />
62
+          <entry key="project.open.time.9" value="1" />
63
+          <entry key="project.opened" value="5" />
64
+        </counts>
65
+      </usages-collector>
66
+      <usages-collector id="statistics.file.extensions.edit">
67
+        <counts>
68
+          <entry key="java" value="1" />
69
+        </counts>
70
+      </usages-collector>
71
+      <usages-collector id="statistics.file.types.edit">
72
+        <counts>
73
+          <entry key="JAVA" value="1" />
74
+        </counts>
75
+      </usages-collector>
76
+    </session>
77
+    <session id="-177100978">
78
+      <usages-collector id="statistics.lifecycle.project">
79
+        <counts>
80
+          <entry key="project.closed" value="4" />
81
+          <entry key="project.open.time.2" value="4" />
82
+          <entry key="project.opened" value="4" />
83
+        </counts>
84
+      </usages-collector>
85
+      <usages-collector id="statistics.file.extensions.edit">
86
+        <counts>
87
+          <entry key="java" value="2976" />
88
+          <entry key="xml" value="3" />
89
+        </counts>
90
+      </usages-collector>
91
+      <usages-collector id="statistics.file.types.edit">
92
+        <counts>
93
+          <entry key="JAVA" value="2976" />
94
+          <entry key="XML" value="3" />
95
+        </counts>
96
+      </usages-collector>
97
+      <usages-collector id="statistics.file.extensions.open">
98
+        <counts>
99
+          <entry key="java" value="2" />
100
+          <entry key="xml" value="1" />
101
+        </counts>
102
+      </usages-collector>
103
+      <usages-collector id="statistics.file.types.open">
104
+        <counts>
105
+          <entry key="JAVA" value="2" />
106
+          <entry key="XML" value="1" />
107
+        </counts>
108
+      </usages-collector>
109
+    </session>
110
+  </component>
15 111
   <component name="FileEditorManager">
16
-    <leaf>
17
-      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="true">
18
-        <entry file="file://$PROJECT_DIR$/pom.xml">
19
-          <provider selected="true" editor-type-id="text-editor">
20
-            <state relative-caret-position="165">
21
-              <caret line="11" column="10" lean-forward="false" selection-start-line="11" selection-start-column="10" selection-end-line="11" selection-end-column="10" />
22
-              <folding />
23
-            </state>
24
-          </provider>
25
-        </entry>
26
-      </file>
27
-      <file leaf-file-name="MainApplication.java" pinned="false" current-in-tab="false">
112
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
113
+      <file pinned="false" current-in-tab="false">
28 114
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
29 115
           <provider selected="true" editor-type-id="text-editor">
30
-            <state relative-caret-position="75">
31
-              <caret line="5" column="28" lean-forward="false" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" />
32
-              <folding />
116
+            <state relative-caret-position="525">
117
+              <caret line="35" column="5" selection-start-line="35" selection-start-column="5" selection-end-line="35" selection-end-column="5" />
33 118
             </state>
34 119
           </provider>
35 120
         </entry>
36 121
       </file>
37
-      <file leaf-file-name="Product.java" pinned="false" current-in-tab="false">
122
+      <file pinned="false" current-in-tab="false">
38 123
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
39 124
           <provider selected="true" editor-type-id="text-editor">
40
-            <state relative-caret-position="75">
41
-              <caret line="5" column="20" lean-forward="false" selection-start-line="5" selection-start-column="20" selection-end-line="5" selection-end-column="20" />
42
-              <folding />
43
-            </state>
44
-          </provider>
45
-        </entry>
46
-      </file>
47
-      <file leaf-file-name="ProductTest.java" pinned="false" current-in-tab="false">
48
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
49
-          <provider selected="true" editor-type-id="text-editor">
50
-            <state relative-caret-position="75">
51
-              <caret line="5" column="24" lean-forward="false" selection-start-line="5" selection-start-column="24" selection-end-line="5" selection-end-column="24" />
52
-              <folding />
125
+            <state relative-caret-position="330">
126
+              <caret line="40" column="5" selection-start-line="40" selection-start-column="5" selection-end-line="40" selection-end-column="5" />
53 127
             </state>
54 128
           </provider>
55 129
         </entry>
56 130
       </file>
57
-      <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
58
-        <entry file="file://$PROJECT_DIR$/.gitignore">
131
+      <file pinned="false" current-in-tab="true">
132
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
59 133
           <provider selected="true" editor-type-id="text-editor">
60
-            <state relative-caret-position="90">
61
-              <caret line="6" column="5" lean-forward="false" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
62
-              <folding />
63
-            </state>
64
-          </provider>
65
-        </entry>
66
-      </file>
67
-      <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
68
-        <entry file="file://$PROJECT_DIR$/README.md">
69
-          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
70
-            <state split_layout="SPLIT">
71
-              <first_editor relative-caret-position="285">
72
-                <caret line="19" column="27" lean-forward="false" selection-start-line="19" selection-start-column="27" selection-end-line="19" selection-end-column="27" />
73
-                <folding />
74
-              </first_editor>
75
-              <second_editor />
134
+            <state relative-caret-position="150">
135
+              <caret line="10" column="8" selection-start-line="10" selection-start-column="8" selection-end-line="10" selection-end-column="29" />
136
+              <folding>
137
+                <element signature="imports" expanded="true" />
138
+                <element signature="e#177#186#0" expanded="true" />
139
+                <element signature="e#229#230#0" expanded="true" />
140
+                <element signature="e#265#266#0" expanded="true" />
141
+              </folding>
76 142
             </state>
77 143
           </provider>
78 144
         </entry>
@@ -89,151 +155,98 @@
89 155
   <component name="Git.Settings">
90 156
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
91 157
   </component>
92
-  <component name="GradleLocalSettings">
93
-    <option name="externalProjectsViewState">
94
-      <projects_view />
95
-    </option>
96
-  </component>
97 158
   <component name="IdeDocumentHistory">
98 159
     <option name="CHANGED_PATHS">
99 160
       <list>
100 161
         <option value="$PROJECT_DIR$/.gitignore" />
101 162
         <option value="$PROJECT_DIR$/README.md" />
102 163
         <option value="$PROJECT_DIR$/pom.xml" />
164
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" />
165
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java" />
166
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java" />
167
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java" />
103 168
       </list>
104 169
     </option>
105 170
   </component>
106
-  <component name="ProjectFrameBounds">
107
-    <option name="y" value="23" />
108
-    <option name="width" value="1920" />
109
-    <option name="height" value="1053" />
171
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
172
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
173
+  <component name="JsGulpfileManager">
174
+    <detection-done>true</detection-done>
175
+    <sorting>DEFINITION_ORDER</sorting>
176
+  </component>
177
+  <component name="MavenImportPreferences">
178
+    <option name="importingSettings">
179
+      <MavenImportingSettings>
180
+        <option name="importAutomatically" value="true" />
181
+      </MavenImportingSettings>
182
+    </option>
183
+  </component>
184
+  <component name="ProjectFrameBounds" fullScreen="true">
185
+    <option name="width" value="1440" />
186
+    <option name="height" value="900" />
110 187
   </component>
111 188
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
112 189
   <component name="ProjectView">
113
-    <navigator currentView="ProjectPane" proportions="" version="1">
114
-      <flattenPackages />
115
-      <showMembers />
116
-      <showModules />
117
-      <showLibraryContents />
118
-      <hideEmptyPackages />
119
-      <abbreviatePackageNames />
120
-      <autoscrollToSource />
121
-      <autoscrollFromSource />
122
-      <sortByType />
123
-      <manualOrder />
190
+    <navigator proportions="" version="1">
124 191
       <foldersAlwaysOnTop value="true" />
125 192
     </navigator>
126 193
     <panes>
194
+      <pane id="PackagesPane" />
127 195
       <pane id="ProjectPane">
128 196
         <subPane>
129
-          <PATH>
130
-            <PATH_ELEMENT>
131
-              <option name="myItemId" value="bankaccountlab" />
132
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
133
-            </PATH_ELEMENT>
134
-            <PATH_ELEMENT>
135
-              <option name="myItemId" value="bankaccountlab" />
136
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
137
-            </PATH_ELEMENT>
138
-          </PATH>
139
-          <PATH>
140
-            <PATH_ELEMENT>
141
-              <option name="myItemId" value="bankaccountlab" />
142
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
143
-            </PATH_ELEMENT>
144
-            <PATH_ELEMENT>
145
-              <option name="myItemId" value="bankaccountlab" />
146
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
147
-            </PATH_ELEMENT>
148
-            <PATH_ELEMENT>
149
-              <option name="myItemId" value="src" />
150
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
151
-            </PATH_ELEMENT>
152
-            <PATH_ELEMENT>
153
-              <option name="myItemId" value="test" />
154
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
155
-            </PATH_ELEMENT>
156
-            <PATH_ELEMENT>
157
-              <option name="myItemId" value="java" />
158
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
159
-            </PATH_ELEMENT>
160
-            <PATH_ELEMENT>
161
-              <option name="myItemId" value="com" />
162
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
163
-            </PATH_ELEMENT>
164
-            <PATH_ELEMENT>
165
-              <option name="myItemId" value="zipcodewilmington" />
166
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
167
-            </PATH_ELEMENT>
168
-            <PATH_ELEMENT>
169
-              <option name="myItemId" value="productmanager" />
170
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
171
-            </PATH_ELEMENT>
172
-          </PATH>
173
-          <PATH>
174
-            <PATH_ELEMENT>
175
-              <option name="myItemId" value="bankaccountlab" />
176
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
177
-            </PATH_ELEMENT>
178
-            <PATH_ELEMENT>
179
-              <option name="myItemId" value="bankaccountlab" />
180
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
181
-            </PATH_ELEMENT>
182
-            <PATH_ELEMENT>
183
-              <option name="myItemId" value="src" />
184
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
185
-            </PATH_ELEMENT>
186
-            <PATH_ELEMENT>
187
-              <option name="myItemId" value="main" />
188
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
189
-            </PATH_ELEMENT>
190
-          </PATH>
191
-          <PATH>
192
-            <PATH_ELEMENT>
193
-              <option name="myItemId" value="bankaccountlab" />
194
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
195
-            </PATH_ELEMENT>
196
-            <PATH_ELEMENT>
197
-              <option name="myItemId" value="bankaccountlab" />
198
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
199
-            </PATH_ELEMENT>
200
-            <PATH_ELEMENT>
201
-              <option name="myItemId" value="src" />
202
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
203
-            </PATH_ELEMENT>
204
-            <PATH_ELEMENT>
205
-              <option name="myItemId" value="main" />
206
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
207
-            </PATH_ELEMENT>
208
-            <PATH_ELEMENT>
209
-              <option name="myItemId" value="java" />
210
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
211
-            </PATH_ELEMENT>
212
-            <PATH_ELEMENT>
213
-              <option name="myItemId" value="com" />
214
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
215
-            </PATH_ELEMENT>
216
-            <PATH_ELEMENT>
217
-              <option name="myItemId" value="zipcodewilmington" />
218
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
219
-            </PATH_ELEMENT>
220
-            <PATH_ELEMENT>
221
-              <option name="myItemId" value="productmanager" />
222
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
223
-            </PATH_ELEMENT>
224
-          </PATH>
197
+          <expand>
198
+            <path>
199
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
200
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
201
+            </path>
202
+            <path>
203
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
204
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
205
+              <item name="src" type="462c0819:PsiDirectoryNode" />
206
+            </path>
207
+            <path>
208
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
209
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
210
+              <item name="src" type="462c0819:PsiDirectoryNode" />
211
+              <item name="main" type="462c0819:PsiDirectoryNode" />
212
+            </path>
213
+            <path>
214
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
215
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
216
+              <item name="src" type="462c0819:PsiDirectoryNode" />
217
+              <item name="test" type="462c0819:PsiDirectoryNode" />
218
+            </path>
219
+            <path>
220
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
221
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
222
+              <item name="src" type="462c0819:PsiDirectoryNode" />
223
+              <item name="test" type="462c0819:PsiDirectoryNode" />
224
+              <item name="java" type="462c0819:PsiDirectoryNode" />
225
+            </path>
226
+            <path>
227
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
228
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
229
+              <item name="src" type="462c0819:PsiDirectoryNode" />
230
+              <item name="test" type="462c0819:PsiDirectoryNode" />
231
+              <item name="java" type="462c0819:PsiDirectoryNode" />
232
+              <item name="productmanager" type="462c0819:PsiDirectoryNode" />
233
+            </path>
234
+          </expand>
235
+          <select />
225 236
         </subPane>
226 237
       </pane>
227 238
       <pane id="Scope" />
228
-      <pane id="Scratches" />
229
-      <pane id="PackagesPane" />
230 239
     </panes>
231 240
   </component>
232 241
   <component name="PropertiesComponent">
233
-    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
242
+    <property name="WebServerToolWindowFactoryState" value="false" />
243
+    <property name="aspect.path.notification.shown" value="true" />
244
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1540917893467" />
245
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
234 246
     <property name="project.structure.last.edited" value="Project" />
235 247
     <property name="project.structure.proportion" value="0.0" />
236 248
     <property name="project.structure.side.proportion" value="0.2" />
249
+    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
237 250
   </component>
238 251
   <component name="RunDashboard">
239 252
     <option name="ruleStates">
@@ -247,42 +260,7 @@
247 260
       </list>
248 261
     </option>
249 262
   </component>
250
-  <component name="RunManager">
251
-    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
252
-      <module name="" />
253
-      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
254
-      <option name="PROGRAM_PARAMETERS" />
255
-      <predefined_log_file id="idea.log" enabled="true" />
256
-      <method />
257
-    </configuration>
258
-    <configuration default="true" type="AndroidRunConfigurationType" factoryName="Android App">
259
-      <module name="" />
260
-      <option name="DEPLOY" value="true" />
261
-      <option name="ARTIFACT_NAME" value="" />
262
-      <option name="PM_INSTALL_OPTIONS" value="" />
263
-      <option name="ACTIVITY_EXTRA_FLAGS" value="" />
264
-      <option name="MODE" value="default_activity" />
265
-      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
266
-      <option name="PREFERRED_AVD" value="" />
267
-      <option name="CLEAR_LOGCAT" value="false" />
268
-      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
269
-      <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
270
-      <option name="FORCE_STOP_RUNNING_APP" value="true" />
271
-      <option name="DEBUGGER_TYPE" value="Java" />
272
-      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
273
-      <option name="PREFERRED_AVD" value="" />
274
-      <Java />
275
-      <Profilers>
276
-        <option name="ENABLE_ADVANCED_PROFILING" value="true" />
277
-        <option name="GAPID_ENABLED" value="false" />
278
-        <option name="GAPID_DISABLE_PCS" value="false" />
279
-        <option name="SUPPORT_LIB_ENABLED" value="true" />
280
-        <option name="INSTRUMENTATION_ENABLED" value="true" />
281
-      </Profilers>
282
-      <option name="DEEP_LINK" value="" />
283
-      <option name="ACTIVITY_CLASS" value="" />
284
-      <method />
285
-    </configuration>
263
+  <component name="RunManager" selected="JUnit.ProductTest.testQuantity">
286 264
     <configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
287 265
       <module name="" />
288 266
       <option name="TESTING_TYPE" value="0" />
@@ -310,164 +288,166 @@
310 288
       </Profilers>
311 289
       <method />
312 290
     </configuration>
291
+    <configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
292
+      <setting name="environment" value="" />
293
+      <setting name="specsToExecute" value="" />
294
+      <setting name="tags" value="" />
295
+      <setting name="parallelNodes" value="" />
296
+      <setting name="execInParallel" value="false" />
297
+      <setting name="programParameters" value="" />
298
+      <setting name="workingDirectory" value="" />
299
+      <setting name="moduleName" value="" />
300
+      <envMap />
301
+      <setting name="rowsRange" value="" />
302
+      <method />
303
+    </configuration>
313 304
     <configuration default="true" type="Applet" factoryName="Applet">
314
-      <option name="HTML_USED" value="false" />
315
-      <option name="WIDTH" value="400" />
316
-      <option name="HEIGHT" value="300" />
317 305
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
318
-      <module />
319
-      <method />
306
+      <method v="2">
307
+        <option name="Make" enabled="true" />
308
+      </method>
309
+    </configuration>
310
+    <configuration name="MainApplication" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
311
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.MainApplication" />
312
+      <module name="productmanager" />
313
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
314
+      <extension name="coverage">
315
+        <pattern>
316
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
317
+          <option name="ENABLED" value="true" />
318
+        </pattern>
319
+      </extension>
320
+      <method v="2">
321
+        <option name="Make" enabled="true" />
322
+      </method>
320 323
     </configuration>
321 324
     <configuration default="true" type="Application" factoryName="Application">
322
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
323
-      <option name="MAIN_CLASS_NAME" />
324
-      <option name="VM_PARAMETERS" />
325
-      <option name="PROGRAM_PARAMETERS" />
326 325
       <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
327
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
328
-      <option name="ALTERNATIVE_JRE_PATH" />
329
-      <option name="ENABLE_SWING_INSPECTOR" value="false" />
330
-      <option name="ENV_VARIABLES" />
331
-      <option name="PASS_PARENT_ENVS" value="true" />
332
-      <module name="" />
333
-      <envs />
334
-      <method />
326
+      <method v="2">
327
+        <option name="Make" enabled="true" />
328
+      </method>
335 329
     </configuration>
336
-    <configuration default="true" type="GradleRunConfiguration" factoryName="Gradle">
337
-      <ExternalSystemSettings>
338
-        <option name="executionName" />
339
-        <option name="externalProjectPath" />
340
-        <option name="externalSystemIdString" value="GRADLE" />
341
-        <option name="scriptParameters" />
342
-        <option name="taskDescriptions">
343
-          <list />
344
-        </option>
345
-        <option name="taskNames">
346
-          <list />
347
-        </option>
348
-        <option name="vmOptions" />
349
-      </ExternalSystemSettings>
350
-      <method />
330
+    <configuration name="ProductTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
331
+      <module name="productmanager" />
332
+      <extension name="coverage">
333
+        <pattern>
334
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
335
+          <option name="ENABLED" value="true" />
336
+        </pattern>
337
+      </extension>
338
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
339
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
340
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
341
+      <method v="2">
342
+        <option name="Make" enabled="true" />
343
+      </method>
351 344
     </configuration>
352
-    <configuration default="true" type="JUnit" factoryName="JUnit">
353
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
354
-      <module name="" />
355
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
356
-      <option name="ALTERNATIVE_JRE_PATH" />
357
-      <option name="PACKAGE_NAME" />
358
-      <option name="MAIN_CLASS_NAME" />
359
-      <option name="METHOD_NAME" />
360
-      <option name="TEST_OBJECT" value="class" />
361
-      <option name="VM_PARAMETERS" value="-ea" />
362
-      <option name="PARAMETERS" />
345
+    <configuration name="ProductTest.testInventory" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
346
+      <module name="productmanager" />
347
+      <extension name="coverage">
348
+        <pattern>
349
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
350
+          <option name="ENABLED" value="true" />
351
+        </pattern>
352
+      </extension>
353
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
354
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
355
+      <option name="METHOD_NAME" value="testInventory" />
356
+      <option name="TEST_OBJECT" value="method" />
363 357
       <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
364
-      <option name="ENV_VARIABLES" />
365
-      <option name="PASS_PARENT_ENVS" value="true" />
366
-      <option name="TEST_SEARCH_SCOPE">
367
-        <value defaultName="singleModule" />
368
-      </option>
369
-      <envs />
370
-      <patterns />
371
-      <method />
358
+      <method v="2">
359
+        <option name="Make" enabled="true" />
360
+      </method>
372 361
     </configuration>
373
-    <configuration default="true" type="JarApplication" factoryName="JAR Application">
374
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
375
-      <envs />
376
-      <method />
362
+    <configuration name="ProductTest.testProduct" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
363
+      <module name="productmanager" />
364
+      <extension name="coverage">
365
+        <pattern>
366
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
367
+          <option name="ENABLED" value="true" />
368
+        </pattern>
369
+      </extension>
370
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
371
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
372
+      <option name="METHOD_NAME" value="testProduct" />
373
+      <option name="TEST_OBJECT" value="method" />
374
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
375
+      <method v="2">
376
+        <option name="Make" enabled="true" />
377
+      </method>
377 378
     </configuration>
378
-    <configuration default="true" type="Java Scratch" factoryName="Java Scratch">
379
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
380
-      <option name="SCRATCH_FILE_ID" value="0" />
381
-      <option name="MAIN_CLASS_NAME" />
382
-      <option name="VM_PARAMETERS" />
383
-      <option name="PROGRAM_PARAMETERS" />
384
-      <option name="WORKING_DIRECTORY" />
385
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
386
-      <option name="ALTERNATIVE_JRE_PATH" />
387
-      <option name="ENABLE_SWING_INSPECTOR" value="false" />
388
-      <option name="ENV_VARIABLES" />
389
-      <option name="PASS_PARENT_ENVS" value="true" />
390
-      <module name="" />
391
-      <envs />
392
-      <method />
379
+    <configuration name="ProductTest.testQuantity" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
380
+      <module name="productmanager" />
381
+      <extension name="coverage">
382
+        <pattern>
383
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
384
+          <option name="ENABLED" value="true" />
385
+        </pattern>
386
+      </extension>
387
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
388
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
389
+      <option name="METHOD_NAME" value="testQuantity" />
390
+      <option name="TEST_OBJECT" value="method" />
391
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
392
+      <method v="2">
393
+        <option name="Make" enabled="true" />
394
+      </method>
395
+    </configuration>
396
+    <configuration default="true" type="JUnit" factoryName="JUnit">
397
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
398
+      <method v="2">
399
+        <option name="Make" enabled="true" />
400
+      </method>
393 401
     </configuration>
394 402
     <configuration default="true" type="JetRunConfigurationType" factoryName="Kotlin">
395
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
396
-      <option name="MAIN_CLASS_NAME" />
403
+      <module name="bankaccountlab" />
397 404
       <option name="VM_PARAMETERS" />
398 405
       <option name="PROGRAM_PARAMETERS" />
399
-      <option name="WORKING_DIRECTORY" />
400 406
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
401 407
       <option name="ALTERNATIVE_JRE_PATH" />
402 408
       <option name="PASS_PARENT_ENVS" value="true" />
403
-      <module name="bankaccountlab" />
404
-      <envs />
405
-      <method />
406
-    </configuration>
407
-    <configuration default="true" type="KotlinStandaloneScriptRunConfigurationType" factoryName="Kotlin script">
408
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
409
-      <option name="filePath" />
410
-      <option name="vmParameters" />
411
-      <option name="alternativeJrePath" />
412
-      <option name="programParameters" />
413
-      <option name="passParentEnvs" value="true" />
414
-      <option name="workingDirectory" />
415
-      <option name="isAlternativeJrePathEnabled" value="false" />
416
-      <envs />
417
-      <method />
418
-    </configuration>
419
-    <configuration default="true" type="Remote" factoryName="Remote">
420
-      <option name="USE_SOCKET_TRANSPORT" value="true" />
421
-      <option name="SERVER_MODE" value="false" />
422
-      <option name="SHMEM_ADDRESS" value="javadebug" />
423
-      <option name="HOST" value="localhost" />
424
-      <option name="PORT" value="5005" />
425
-      <method />
409
+      <option name="MAIN_CLASS_NAME" />
410
+      <option name="WORKING_DIRECTORY" />
411
+      <method v="2">
412
+        <option name="Make" enabled="true" />
413
+      </method>
426 414
     </configuration>
427 415
     <configuration default="true" type="TestNG" factoryName="TestNG">
428
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
429
-      <module name="" />
430
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
431
-      <option name="ALTERNATIVE_JRE_PATH" />
432
-      <option name="SUITE_NAME" />
433
-      <option name="PACKAGE_NAME" />
434
-      <option name="MAIN_CLASS_NAME" />
435
-      <option name="METHOD_NAME" />
436
-      <option name="GROUP_NAME" />
437
-      <option name="TEST_OBJECT" value="CLASS" />
438
-      <option name="VM_PARAMETERS" value="-ea" />
439
-      <option name="PARAMETERS" />
440 416
       <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
441
-      <option name="OUTPUT_DIRECTORY" />
442
-      <option name="ANNOTATION_TYPE" />
443
-      <option name="ENV_VARIABLES" />
444
-      <option name="PASS_PARENT_ENVS" value="true" />
445
-      <option name="TEST_SEARCH_SCOPE">
446
-        <value defaultName="singleModule" />
447
-      </option>
448
-      <option name="USE_DEFAULT_REPORTERS" value="false" />
449
-      <option name="PROPERTIES_FILE" />
450
-      <envs />
451 417
       <properties />
452 418
       <listeners />
453
-      <method />
419
+      <method v="2">
420
+        <option name="Make" enabled="true" />
421
+      </method>
454 422
     </configuration>
455
-    <configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
456
-      <setting name="environment" value="" />
457
-      <setting name="specsToExecute" value="" />
458
-      <setting name="tags" value="" />
459
-      <setting name="parallelNodes" value="" />
460
-      <setting name="execInParallel" value="false" />
461
-      <setting name="programParameters" value="" />
462
-      <setting name="workingDirectory" value="" />
463
-      <setting name="moduleName" value="" />
464
-      <envMap />
465
-      <setting name="rowsRange" value="" />
466
-      <method />
423
+    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
424
+      <module name="" />
425
+      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
426
+      <option name="PROGRAM_PARAMETERS" />
427
+      <predefined_log_file id="idea.log" enabled="true" />
428
+      <method v="2">
429
+        <option name="Make" enabled="true" />
430
+      </method>
467 431
     </configuration>
432
+    <list>
433
+      <item itemvalue="JUnit.ProductTest.testProduct" />
434
+      <item itemvalue="JUnit.ProductTest.testQuantity" />
435
+      <item itemvalue="JUnit.ProductTest.testInventory" />
436
+      <item itemvalue="JUnit.ProductTest" />
437
+      <item itemvalue="Application.MainApplication" />
438
+    </list>
439
+    <recent_temporary>
440
+      <list>
441
+        <item itemvalue="JUnit.ProductTest.testQuantity" />
442
+        <item itemvalue="Application.MainApplication" />
443
+        <item itemvalue="JUnit.ProductTest" />
444
+        <item itemvalue="JUnit.ProductTest.testInventory" />
445
+        <item itemvalue="JUnit.ProductTest.testProduct" />
446
+      </list>
447
+    </recent_temporary>
468 448
   </component>
469
-  <component name="ShelveChangesManager" show_recycled="false">
470
-    <option name="remove_strategy" value="false" />
449
+  <component name="SvnConfiguration">
450
+    <configuration />
471 451
   </component>
472 452
   <component name="TaskManager">
473 453
     <task active="true" id="Default" summary="Default task">
@@ -476,97 +456,178 @@
476 456
       <option name="number" value="Default" />
477 457
       <option name="presentableId" value="Default" />
478 458
       <updated>1515620835041</updated>
459
+      <workItem from="1540329067376" duration="3753000" />
460
+      <workItem from="1540333526775" duration="2000" />
461
+      <workItem from="1540385848601" duration="706000" />
462
+      <workItem from="1540402011619" duration="144000" />
463
+      <workItem from="1540405003528" duration="2000" />
464
+      <workItem from="1540470024346" duration="400000" />
465
+      <workItem from="1540495415730" duration="29000" />
466
+      <workItem from="1540653751319" duration="106000" />
467
+      <workItem from="1540669355393" duration="187000" />
468
+      <workItem from="1540850840618" duration="8383000" />
469
+      <workItem from="1540917818440" duration="88000" />
479 470
     </task>
480 471
     <servers />
481 472
   </component>
473
+  <component name="TestHistory">
474
+    <history-entry file="ProductTest_testProduct - 2018.10.30 at 09h 10m 48s.xml">
475
+      <configuration name="ProductTest.testProduct" configurationId="JUnit" />
476
+    </history-entry>
477
+    <history-entry file="ProductTest_testProduct - 2018.10.30 at 09h 18m 56s.xml">
478
+      <configuration name="ProductTest.testProduct" configurationId="JUnit" />
479
+    </history-entry>
480
+    <history-entry file="ProductTest_testProduct - 2018.10.30 at 09h 22m 54s.xml">
481
+      <configuration name="ProductTest.testProduct" configurationId="JUnit" />
482
+    </history-entry>
483
+    <history-entry file="ProductTest_testQuantity - 2018.10.30 at 09h 40m 10s.xml">
484
+      <configuration name="ProductTest.testQuantity" configurationId="JUnit" />
485
+    </history-entry>
486
+    <history-entry file="ProductTest_testInventory - 2018.10.30 at 09h 50m 16s.xml">
487
+      <configuration name="ProductTest.testInventory" configurationId="JUnit" />
488
+    </history-entry>
489
+    <history-entry file="ProductTest - 2018.10.30 at 09h 50m 23s.xml">
490
+      <configuration name="ProductTest" configurationId="JUnit" />
491
+    </history-entry>
492
+    <history-entry file="ProductTest_testQuantity - 2018.10.30 at 12h 44m 54s.xml">
493
+      <configuration name="ProductTest.testQuantity" configurationId="JUnit" />
494
+    </history-entry>
495
+  </component>
496
+  <component name="TimeTrackingManager">
497
+    <option name="totallyTimeSpent" value="13800000" />
498
+  </component>
482 499
   <component name="ToolWindowManager">
483
-    <frame x="0" y="23" width="1920" height="1053" extended-state="6" />
500
+    <frame x="0" y="0" width="1440" height="900" extended-state="0" />
501
+    <editor active="true" />
484 502
     <layout>
485
-      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
486
-      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
487
-      <window_info id="Nl-Palette" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
488
-      <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
489
-      <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
490
-      <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
491
-      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
492
-      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
493
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
494
-      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
495
-      <window_info id="Properties" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
496
-      <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3298647" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
497
-      <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
498
-      <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
499
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24973376" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
500
-      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
501
-      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
502
-      <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
503
-      <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
504
-      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
505
-      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
506
-      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
507
-      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
508
-      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
509
-      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
510
-      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
511
-      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
503
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.2067239" />
504
+      <window_info id="Structure" order="1" weight="0.25" />
505
+      <window_info id="Nl-Palette" order="2" />
506
+      <window_info id="Favorites" order="3" side_tool="true" />
507
+      <window_info id="Image Layers" order="4" />
508
+      <window_info id="Designer" order="5" />
509
+      <window_info id="UI Designer" order="6" />
510
+      <window_info id="Capture Tool" order="7" />
511
+      <window_info anchor="bottom" id="Message" order="0" />
512
+      <window_info anchor="bottom" id="Find" order="1" />
513
+      <window_info anchor="bottom" id="Run" order="2" weight="0.40120482" />
514
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
515
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
516
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
517
+      <window_info anchor="bottom" id="TODO" order="6" />
518
+      <window_info anchor="bottom" id="Terminal" order="7" weight="0.32921812" />
519
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
520
+      <window_info anchor="bottom" id="Version Control" order="9" />
521
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
522
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.32970297" />
523
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
524
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
525
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
526
+      <window_info anchor="right" id="Palette" order="3" />
527
+      <window_info anchor="right" id="Capture Analysis" order="4" />
528
+      <window_info anchor="right" id="Theme Preview" order="5" />
529
+      <window_info anchor="right" id="Properties" order="6" />
530
+      <window_info anchor="right" id="Palette&#9;" order="7" />
531
+      <window_info anchor="right" id="Maven Projects" order="8" />
532
+      <window_info anchor="right" id="Database" order="9" />
512 533
     </layout>
534
+    <layout-to-restore>
535
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.27110156" />
536
+      <window_info id="Structure" order="1" weight="0.25" />
537
+      <window_info id="Nl-Palette" order="2" />
538
+      <window_info id="Favorites" order="3" side_tool="true" />
539
+      <window_info id="Image Layers" order="4" />
540
+      <window_info id="Designer" order="5" />
541
+      <window_info id="UI Designer" order="6" />
542
+      <window_info id="Capture Tool" order="7" />
543
+      <window_info anchor="bottom" id="Message" order="0" />
544
+      <window_info anchor="bottom" id="Find" order="1" />
545
+      <window_info anchor="bottom" id="Run" order="2" />
546
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
547
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
548
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
549
+      <window_info anchor="bottom" id="TODO" order="6" />
550
+      <window_info active="true" anchor="bottom" id="Terminal" order="7" visible="true" weight="0.32921812" />
551
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
552
+      <window_info anchor="bottom" id="Version Control" order="9" />
553
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
554
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
555
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
556
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
557
+      <window_info anchor="right" id="Palette" order="3" />
558
+      <window_info anchor="right" id="Capture Analysis" order="4" />
559
+      <window_info anchor="right" id="Theme Preview" order="5" />
560
+      <window_info anchor="right" id="Properties" order="6" />
561
+      <window_info anchor="right" id="Palette&#9;" order="7" />
562
+      <window_info anchor="right" id="Maven Projects" order="8" />
563
+      <window_info anchor="right" id="Database" order="9" />
564
+    </layout-to-restore>
565
+  </component>
566
+  <component name="TypeScriptGeneratedFilesManager">
567
+    <option name="version" value="1" />
513 568
   </component>
514 569
   <component name="VcsContentAnnotationSettings">
515 570
     <option name="myLimit" value="2678400000" />
516 571
   </component>
517
-  <component name="XDebuggerManager">
518
-    <breakpoint-manager />
519
-    <watches-manager />
520
-  </component>
521 572
   <component name="editorHistoryManager">
522
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
573
+    <entry file="file://$PROJECT_DIR$/.gitignore">
523 574
       <provider selected="true" editor-type-id="text-editor">
524
-        <state relative-caret-position="75">
525
-          <caret line="5" column="28" lean-forward="false" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" />
526
-          <folding />
575
+        <state relative-caret-position="90">
576
+          <caret line="6" column="5" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
527 577
         </state>
528 578
       </provider>
529 579
     </entry>
530
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
580
+    <entry file="file://$PROJECT_DIR$/README.md">
581
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
582
+        <state split_layout="SPLIT">
583
+          <first_editor relative-caret-position="375">
584
+            <caret line="25" column="29" selection-start-line="25" selection-start-column="29" selection-end-line="25" selection-end-column="29" />
585
+          </first_editor>
586
+          <second_editor />
587
+        </state>
588
+      </provider>
589
+    </entry>
590
+    <entry file="file://$PROJECT_DIR$/pom.xml">
531 591
       <provider selected="true" editor-type-id="text-editor">
532
-        <state relative-caret-position="75">
533
-          <caret line="5" column="20" lean-forward="false" selection-start-line="5" selection-start-column="20" selection-end-line="5" selection-end-column="20" />
534
-          <folding />
592
+        <state relative-caret-position="255">
593
+          <caret line="17" column="4" selection-start-line="17" selection-start-column="4" selection-end-line="17" selection-end-column="4" />
535 594
         </state>
536 595
       </provider>
537 596
     </entry>
538
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
597
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
539 598
       <provider selected="true" editor-type-id="text-editor">
540
-        <state relative-caret-position="75">
541
-          <caret line="5" column="24" lean-forward="false" selection-start-line="5" selection-start-column="24" selection-end-line="5" selection-end-column="24" />
542
-          <folding />
599
+        <state relative-caret-position="525">
600
+          <caret line="35" column="5" selection-start-line="35" selection-start-column="5" selection-end-line="35" selection-end-column="5" />
543 601
         </state>
544 602
       </provider>
545 603
     </entry>
546
-    <entry file="file://$PROJECT_DIR$/.gitignore">
604
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
547 605
       <provider selected="true" editor-type-id="text-editor">
548
-        <state relative-caret-position="90">
549
-          <caret line="6" column="5" lean-forward="false" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
550
-          <folding />
606
+        <state relative-caret-position="330">
607
+          <caret line="40" column="5" selection-start-line="40" selection-start-column="5" selection-end-line="40" selection-end-column="5" />
551 608
         </state>
552 609
       </provider>
553 610
     </entry>
554
-    <entry file="file://$PROJECT_DIR$/README.md">
555
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
556
-        <state split_layout="SPLIT">
557
-          <first_editor relative-caret-position="285">
558
-            <caret line="19" column="27" lean-forward="false" selection-start-line="19" selection-start-column="27" selection-end-line="19" selection-end-column="27" />
559
-            <folding />
560
-          </first_editor>
561
-          <second_editor />
611
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
612
+      <provider selected="true" editor-type-id="text-editor">
613
+        <state relative-caret-position="900">
614
+          <caret line="60" column="32" selection-start-line="60" selection-start-column="32" selection-end-line="60" selection-end-column="32" />
615
+          <folding>
616
+            <element signature="imports" expanded="true" />
617
+          </folding>
562 618
         </state>
563 619
       </provider>
564 620
     </entry>
565
-    <entry file="file://$PROJECT_DIR$/pom.xml">
621
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
566 622
       <provider selected="true" editor-type-id="text-editor">
567
-        <state relative-caret-position="165">
568
-          <caret line="11" column="10" lean-forward="false" selection-start-line="11" selection-start-column="10" selection-end-line="11" selection-end-column="10" />
569
-          <folding />
623
+        <state relative-caret-position="150">
624
+          <caret line="10" column="8" selection-start-line="10" selection-start-column="8" selection-end-line="10" selection-end-column="29" />
625
+          <folding>
626
+            <element signature="imports" expanded="true" />
627
+            <element signature="e#177#186#0" expanded="true" />
628
+            <element signature="e#229#230#0" expanded="true" />
629
+            <element signature="e#265#266#0" expanded="true" />
630
+          </folding>
570 631
         </state>
571 632
       </provider>
572 633
     </entry>

+ 10
- 0
pom.xml View File

@@ -7,6 +7,16 @@
7 7
     <groupId>com.zipcodewilmington</groupId>
8 8
     <artifactId>productmanager</artifactId>
9 9
     <version>1.0-SNAPSHOT</version>
10
+<dependencies>
11
+    <!-- https://mvnrepository.com/artifact/junit/junit -->
12
+    <dependency>
13
+        <groupId>junit</groupId>
14
+        <artifactId>junit</artifactId>
15
+        <version>4.12</version>
16
+        <scope>test</scope>
17
+    </dependency>
10 18
 
11 19
 
20
+</dependencies>
21
+
12 22
 </project>

+ 39
- 0
src/main/java/com/zipcodewilmington/productmanager/Inventory.java View File

@@ -0,0 +1,39 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+import java.util.ArrayList;
4
+import java.util.List;
5
+
6
+public class Inventory {
7
+
8
+    ArrayList<Product> listOfProduct = new ArrayList<Product>();
9
+
10
+    public void addProduct(Product p) {
11
+        listOfProduct.add(p);
12
+    }
13
+
14
+    public int getQuantity(){
15
+
16
+       int result =0;
17
+       for(int i =0; i<listOfProduct.size(); i++){
18
+           result+= listOfProduct.get(i).getQuantity();
19
+       }
20
+        return result;
21
+    }
22
+
23
+
24
+    public double getPrice(){
25
+        double result = 0;
26
+        for(int i = 0; i< listOfProduct.size(); i++){
27
+            result+= listOfProduct.get(i).getPrice();
28
+        }
29
+        return result;
30
+    }
31
+
32
+
33
+}
34
+
35
+
36
+
37
+
38
+
39
+

+ 31
- 1
src/main/java/com/zipcodewilmington/productmanager/MainApplication.java View File

@@ -3,5 +3,35 @@ package com.zipcodewilmington.productmanager;
3 3
 /**
4 4
  * Created by leon on 1/10/18.
5 5
  */
6
+
6 7
 public class MainApplication {
7
-}
8
+
9
+    public static void main(String[] args) {
10
+
11
+
12
+        Product product1 = new Product(10.99, 2332, 2, "chips");
13
+        Product product2 = new Product(12.99, 3340, 4, "drinks");
14
+        Product product3 = new Product(13.99, 3342, 3, "food");
15
+        Product product4 = new Product(21.99, 2121, 6, "hot dogs");
16
+        Product product5 = new Product(15.22, 2000, 3, "liquor");
17
+
18
+
19
+        Inventory inv = new Inventory();
20
+
21
+        inv.addProduct(product1);
22
+        inv.addProduct(product2);
23
+        inv.addProduct(product3);
24
+        inv.addProduct(product4);
25
+        inv.addProduct(product5);
26
+
27
+
28
+            System.out.println("---PRODUCT MENU ---");
29
+            System.out.println("Total Quantity: " + inv.getQuantity());
30
+            System.out.println("Total Inventory Price" + inv.getPrice());
31
+
32
+
33
+
34
+
35
+        }
36
+    }
37
+

+ 47
- 0
src/main/java/com/zipcodewilmington/productmanager/Product.java View File

@@ -4,4 +4,51 @@ package com.zipcodewilmington.productmanager;
4 4
  * Created by leon on 1/10/18.
5 5
  */
6 6
 public class Product {
7
+
8
+    private double Price;
9
+    private int ID;
10
+    private int Quantity;
11
+    private String Name;
12
+
13
+    public Product() {
14
+    }
15
+
16
+    public Product(double price, int ID, int quantity,  String name) {
17
+        this.Price = price;
18
+        this.ID = ID;
19
+        this.Quantity = quantity;
20
+        this.Name = name;
21
+    }
22
+
23
+    public double getPrice() {
24
+
25
+        return this.Price;
26
+    }
27
+
28
+    public void setPrice(double price) {
29
+        this.Price = price;}
30
+
31
+    public int getID() {
32
+        return this.ID;
33
+    }
34
+
35
+    public void setID(int ID) {
36
+        this.ID = ID;
37
+    }
38
+
39
+    public int getQuantity() {
40
+        return this.Quantity;
41
+    }
42
+
43
+    public void setQuantity(int quantity) {
44
+        this.Quantity = quantity;
45
+    }
46
+
47
+    public String getName() {
48
+        return this.Name;
49
+    }
50
+    public void setName(String name) {
51
+        this.Name = name;
52
+    }
53
+
7 54
 }

+ 72
- 1
src/test/java/com/zipcodewilmington/productmanager/ProductTest.java View File

@@ -1,7 +1,78 @@
1 1
 package com.zipcodewilmington.productmanager;
2
+import org.junit.Assert;
3
+import org.junit.Test;
2 4
 
3 5
 /**
4 6
  * Created by leon on 1/10/18.
5 7
  */
6 8
 public class ProductTest {
7
-}
9
+
10
+    @Test
11
+    public void testProduct() {
12
+        //Given
13
+        Product product1 = new Product(10.99, 2332, 2, "chips");
14
+        int expectedID = 2332;
15
+        String expectedName = "chips";
16
+        int expectedQuant = 2;
17
+        double expectedPrice = 10.99;
18
+
19
+
20
+        //When
21
+        int actualID = product1.getID();
22
+        int actualQuant = product1.getQuantity();
23
+        double actualPrice = product1.getPrice();
24
+        String actualName = product1.getName();
25
+
26
+        //Then
27
+        Assert.assertEquals(actualQuant, expectedQuant);
28
+        Assert.assertEquals(actualPrice, expectedPrice, .01);
29
+        Assert.assertEquals(actualName, expectedName);
30
+        Assert.assertEquals(actualID, expectedID);
31
+    }
32
+
33
+    @Test
34
+    public void testQuantity(){
35
+
36
+        //Given
37
+        Product product2 = new Product( 12.99, 3340, 4, "drinks");
38
+        Product product3 = new Product( 13.99, 3342, 3, "food");
39
+        Inventory inv = new Inventory();
40
+        inv.addProduct(product2);
41
+        inv.addProduct(product3);
42
+        int expectedQuant = 7;
43
+
44
+
45
+
46
+
47
+        //When
48
+        int actualQuant = inv.getQuantity();
49
+
50
+
51
+        //Then
52
+        Assert.assertEquals(actualQuant, expectedQuant);
53
+
54
+
55
+    }
56
+
57
+    @Test
58
+
59
+    public void testInventory(){
60
+        //Given
61
+        Product product4 = new Product(21.99, 2121, 6, "hot dogs");
62
+        Product product5 = new Product(15.22, 2000, 3, "liquor");
63
+        Inventory inv = new Inventory();
64
+        inv.addProduct(product4);
65
+        inv.addProduct(product5);
66
+
67
+        double expectedPrice = 37.21;
68
+
69
+        //When
70
+        double actualPrice =inv.getPrice();
71
+
72
+
73
+        //Then
74
+        Assert.assertEquals(actualPrice, expectedPrice, .01);
75
+
76
+    }
77
+
78
+}