Browse Source

Product class and tests created and passed.

Lauren Green 6 years ago
parent
commit
ba07b55569

+ 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="CR-MesoLabs-Inheritance-ProductManager" />
10 11
       </profile>
11 12
     </annotationProcessing>
12 13
     <bytecodeTargetLevel target="1.8">
13 14
       <module name="bankaccountlab" target="1.5" />
15
+      <module name="CR-MesoLabs-Inheritance-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>

+ 3
- 0
.idea/misc.xml View File

@@ -38,6 +38,9 @@
38 38
       <property name="caretWidth" class="java.lang.Integer" />
39 39
     </properties>
40 40
   </component>
41
+  <component name="JavaScriptSettings">
42
+    <option name="languageLevel" value="ES6" />
43
+  </component>
41 44
   <component name="MavenProjectsManager">
42 45
     <option name="originalFiles">
43 46
       <list>

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

@@ -2,6 +2,7 @@
2 2
 <project version="4">
3 3
   <component name="ProjectModuleManager">
4 4
     <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/CR-MesoLabs-Inheritance-ProductManager.iml" filepath="$PROJECT_DIR$/.idea/CR-MesoLabs-Inheritance-ProductManager.iml" />
5 6
       <module fileurl="file://$PROJECT_DIR$/bankaccountlab.iml" filepath="$PROJECT_DIR$/bankaccountlab.iml" />
6 7
     </modules>
7 8
   </component>

+ 384
- 370
.idea/workspace.xml View File

@@ -1,76 +1,145 @@
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/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
13
+      <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" />
14
+      <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" />
15
+      <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" />
16
+    </list>
5 17
     <ignored path="$PROJECT_DIR$/out/" />
6 18
     <ignored path="$PROJECT_DIR$/target/" />
7 19
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
-    <option name="TRACKING_ENABLED" value="true" />
9 20
     <option name="SHOW_DIALOG" value="false" />
10 21
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
11 22
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12 23
     <option name="LAST_RESOLUTION" value="IGNORE" />
13 24
   </component>
14
-  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
25
+  <component name="CoverageDataManager">
26
+    <SUITE FILE_PATH="coverage/CR_MesoLabs_Inheritance_ProductManager$ProductTest.ic" NAME="ProductTest Coverage Results" MODIFIED="1540396416717" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false">
27
+      <FILTER>com.zipcodewilmington.productmanager.*</FILTER>
28
+    </SUITE>
29
+  </component>
30
+  <component name="FUSProjectUsageTrigger">
31
+    <session id="-226491811">
32
+      <usages-collector id="statistics.lifecycle.project">
33
+        <counts>
34
+          <entry key="project.closed" value="1" />
35
+          <entry key="project.open.time.11" value="1" />
36
+          <entry key="project.open.time.5" value="1" />
37
+          <entry key="project.opened" value="2" />
38
+        </counts>
39
+      </usages-collector>
40
+      <usages-collector id="statistics.file.extensions.edit">
41
+        <counts>
42
+          <entry key="java" value="820" />
43
+          <entry key="xml" value="1" />
44
+        </counts>
45
+      </usages-collector>
46
+      <usages-collector id="statistics.file.types.edit">
47
+        <counts>
48
+          <entry key="JAVA" value="820" />
49
+          <entry key="XML" value="1" />
50
+        </counts>
51
+      </usages-collector>
52
+      <usages-collector id="statistics.file.extensions.open">
53
+        <counts>
54
+          <entry key="Inventory" value="1" />
55
+          <entry key="java" value="1" />
56
+        </counts>
57
+      </usages-collector>
58
+      <usages-collector id="statistics.file.types.open">
59
+        <counts>
60
+          <entry key="CLASS" value="1" />
61
+          <entry key="JAVA" value="1" />
62
+        </counts>
63
+      </usages-collector>
64
+    </session>
65
+  </component>
15 66
   <component name="FileEditorManager">
16
-    <leaf>
17
-      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="true">
67
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
68
+      <file pinned="false" current-in-tab="false">
18 69
         <entry file="file://$PROJECT_DIR$/pom.xml">
19 70
           <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 />
71
+            <state relative-caret-position="270">
72
+              <caret line="18" column="19" selection-start-line="18" selection-start-column="19" selection-end-line="18" selection-end-column="19" />
23 73
             </state>
24 74
           </provider>
25 75
         </entry>
26 76
       </file>
27
-      <file leaf-file-name="MainApplication.java" pinned="false" current-in-tab="false">
77
+      <file pinned="false" current-in-tab="false">
28 78
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
29 79
           <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 />
80
+            <state relative-caret-position="120">
81
+              <caret line="8" selection-start-line="8" selection-end-line="8" />
33 82
             </state>
34 83
           </provider>
35 84
         </entry>
36 85
       </file>
37
-      <file leaf-file-name="Product.java" pinned="false" current-in-tab="false">
86
+      <file pinned="false" current-in-tab="false">
38 87
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
39 88
           <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 />
89
+            <state relative-caret-position="540">
90
+              <caret line="36" selection-start-line="36" selection-end-line="36" />
91
+              <folding>
92
+                <element signature="e#366#367#0" expanded="true" />
93
+                <element signature="e#394#395#0" expanded="true" />
94
+                <element signature="e#436#437#0" expanded="true" />
95
+                <element signature="e#470#471#0" expanded="true" />
96
+                <element signature="e#502#503#0" expanded="true" />
97
+                <element signature="e#533#534#0" expanded="true" />
98
+                <element signature="e#578#579#0" expanded="true" />
99
+                <element signature="e#618#619#0" expanded="true" />
100
+                <element signature="e#652#653#0" expanded="true" />
101
+                <element signature="e#677#678#0" expanded="true" />
102
+              </folding>
43 103
             </state>
44 104
           </provider>
45 105
         </entry>
46 106
       </file>
47
-      <file leaf-file-name="ProductTest.java" pinned="false" current-in-tab="false">
107
+      <file pinned="false" current-in-tab="true">
48 108
         <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
49 109
           <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 />
110
+            <state relative-caret-position="1080">
111
+              <caret line="72" column="11" selection-start-line="72" selection-start-column="11" selection-end-line="72" selection-end-column="11" />
112
+              <folding>
113
+                <element signature="imports" expanded="true" />
114
+              </folding>
115
+            </state>
116
+          </provider>
117
+        </entry>
118
+      </file>
119
+      <file pinned="false" current-in-tab="false">
120
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
121
+          <provider selected="true" editor-type-id="text-editor">
122
+            <state relative-caret-position="90">
123
+              <caret line="6" selection-start-line="6" selection-end-line="6" />
53 124
             </state>
54 125
           </provider>
55 126
         </entry>
56 127
       </file>
57
-      <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
128
+      <file pinned="false" current-in-tab="false">
58 129
         <entry file="file://$PROJECT_DIR$/.gitignore">
59 130
           <provider selected="true" editor-type-id="text-editor">
60 131
             <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 />
132
+              <caret line="6" column="5" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
63 133
             </state>
64 134
           </provider>
65 135
         </entry>
66 136
       </file>
67
-      <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
137
+      <file pinned="false" current-in-tab="false">
68 138
         <entry file="file://$PROJECT_DIR$/README.md">
69 139
           <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
70 140
             <state split_layout="SPLIT">
71 141
               <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 />
142
+                <caret line="19" column="27" selection-start-line="19" selection-start-column="27" selection-end-line="19" selection-end-column="27" />
74 143
               </first_editor>
75 144
               <second_editor />
76 145
             </state>
@@ -89,151 +158,85 @@
89 158
   <component name="Git.Settings">
90 159
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
91 160
   </component>
92
-  <component name="GradleLocalSettings">
93
-    <option name="externalProjectsViewState">
94
-      <projects_view />
95
-    </option>
96
-  </component>
97 161
   <component name="IdeDocumentHistory">
98 162
     <option name="CHANGED_PATHS">
99 163
       <list>
100 164
         <option value="$PROJECT_DIR$/.gitignore" />
101 165
         <option value="$PROJECT_DIR$/README.md" />
166
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java" />
102 167
         <option value="$PROJECT_DIR$/pom.xml" />
168
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java" />
169
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" />
170
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java" />
103 171
       </list>
104 172
     </option>
105 173
   </component>
174
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
175
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
176
+  <component name="JsGulpfileManager">
177
+    <detection-done>true</detection-done>
178
+    <sorting>DEFINITION_ORDER</sorting>
179
+  </component>
180
+  <component name="MavenImportPreferences">
181
+    <option name="importingSettings">
182
+      <MavenImportingSettings>
183
+        <option name="importAutomatically" value="true" />
184
+      </MavenImportingSettings>
185
+    </option>
186
+  </component>
106 187
   <component name="ProjectFrameBounds">
188
+    <option name="x" value="218" />
107 189
     <option name="y" value="23" />
108
-    <option name="width" value="1920" />
109
-    <option name="height" value="1053" />
190
+    <option name="width" value="1310" />
191
+    <option name="height" value="959" />
110 192
   </component>
111 193
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
112 194
   <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 />
195
+    <navigator proportions="" version="1">
124 196
       <foldersAlwaysOnTop value="true" />
125 197
     </navigator>
126 198
     <panes>
127 199
       <pane id="ProjectPane">
128 200
         <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>
201
+          <expand>
202
+            <path>
203
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
204
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
205
+            </path>
206
+            <path>
207
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
208
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
209
+              <item name="src" type="462c0819:PsiDirectoryNode" />
210
+            </path>
211
+            <path>
212
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
213
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
214
+              <item name="src" type="462c0819:PsiDirectoryNode" />
215
+              <item name="main" type="462c0819:PsiDirectoryNode" />
216
+            </path>
217
+            <path>
218
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
219
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
220
+              <item name="src" type="462c0819:PsiDirectoryNode" />
221
+              <item name="main" type="462c0819:PsiDirectoryNode" />
222
+              <item name="java" type="462c0819:PsiDirectoryNode" />
223
+            </path>
224
+          </expand>
225
+          <select />
225 226
         </subPane>
226 227
       </pane>
227 228
       <pane id="Scope" />
228
-      <pane id="Scratches" />
229 229
       <pane id="PackagesPane" />
230 230
     </panes>
231 231
   </component>
232 232
   <component name="PropertiesComponent">
233
-    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
233
+    <property name="WebServerToolWindowFactoryState" value="false" />
234
+    <property name="aspect.path.notification.shown" value="true" />
235
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1540396437131" />
234 236
     <property name="project.structure.last.edited" value="Project" />
235 237
     <property name="project.structure.proportion" value="0.0" />
236 238
     <property name="project.structure.side.proportion" value="0.2" />
239
+    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
237 240
   </component>
238 241
   <component name="RunDashboard">
239 242
     <option name="ruleStates">
@@ -247,42 +250,7 @@
247 250
       </list>
248 251
     </option>
249 252
   </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>
253
+  <component name="RunManager" selected="JUnit.ProductTest">
286 254
     <configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
287 255
       <module name="" />
288 256
       <option name="TESTING_TYPE" value="0" />
@@ -310,164 +278,150 @@
310 278
       </Profilers>
311 279
       <method />
312 280
     </configuration>
281
+    <configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
282
+      <setting name="environment" value="" />
283
+      <setting name="specsToExecute" value="" />
284
+      <setting name="tags" value="" />
285
+      <setting name="parallelNodes" value="" />
286
+      <setting name="execInParallel" value="false" />
287
+      <setting name="programParameters" value="" />
288
+      <setting name="workingDirectory" value="" />
289
+      <setting name="moduleName" value="" />
290
+      <envMap />
291
+      <setting name="rowsRange" value="" />
292
+      <method />
293
+    </configuration>
313 294
     <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 295
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
318
-      <module />
319
-      <method />
296
+      <method v="2">
297
+        <option name="Make" enabled="true" />
298
+      </method>
320 299
     </configuration>
321 300
     <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 301
       <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 />
302
+      <method v="2">
303
+        <option name="Make" enabled="true" />
304
+      </method>
335 305
     </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 />
306
+    <configuration name="ProductTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
307
+      <module name="CR-MesoLabs-Inheritance-ProductManager" />
308
+      <extension name="coverage">
309
+        <pattern>
310
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
311
+          <option name="ENABLED" value="true" />
312
+        </pattern>
313
+      </extension>
314
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
315
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
316
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
317
+      <method v="2">
318
+        <option name="Make" enabled="true" />
319
+      </method>
351 320
     </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" />
321
+    <configuration name="ProductTest.testProductConstructor" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
322
+      <module name="CR-MesoLabs-Inheritance-ProductManager" />
323
+      <extension name="coverage">
324
+        <pattern>
325
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
326
+          <option name="ENABLED" value="true" />
327
+        </pattern>
328
+      </extension>
329
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
330
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
331
+      <option name="METHOD_NAME" value="testProductConstructor" />
332
+      <option name="TEST_OBJECT" value="method" />
363 333
       <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 />
334
+      <method v="2">
335
+        <option name="Make" enabled="true" />
336
+      </method>
372 337
     </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 />
338
+    <configuration name="ProductTest.testSetPrice" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
339
+      <module name="CR-MesoLabs-Inheritance-ProductManager" />
340
+      <extension name="coverage">
341
+        <pattern>
342
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
343
+          <option name="ENABLED" value="true" />
344
+        </pattern>
345
+      </extension>
346
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
347
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
348
+      <option name="METHOD_NAME" value="testSetPrice" />
349
+      <option name="TEST_OBJECT" value="method" />
350
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
351
+      <method v="2">
352
+        <option name="Make" enabled="true" />
353
+      </method>
377 354
     </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 />
355
+    <configuration name="ProductTest.testSetQuantity" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
356
+      <module name="CR-MesoLabs-Inheritance-ProductManager" />
357
+      <extension name="coverage">
358
+        <pattern>
359
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
360
+          <option name="ENABLED" value="true" />
361
+        </pattern>
362
+      </extension>
363
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
364
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
365
+      <option name="METHOD_NAME" value="testSetQuantity" />
366
+      <option name="TEST_OBJECT" value="method" />
367
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
368
+      <method v="2">
369
+        <option name="Make" enabled="true" />
370
+      </method>
371
+    </configuration>
372
+    <configuration default="true" type="JUnit" factoryName="JUnit">
373
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
374
+      <method v="2">
375
+        <option name="Make" enabled="true" />
376
+      </method>
393 377
     </configuration>
394 378
     <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" />
379
+      <module name="bankaccountlab" />
397 380
       <option name="VM_PARAMETERS" />
398 381
       <option name="PROGRAM_PARAMETERS" />
399
-      <option name="WORKING_DIRECTORY" />
400 382
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
401 383
       <option name="ALTERNATIVE_JRE_PATH" />
402 384
       <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 />
385
+      <option name="MAIN_CLASS_NAME" />
386
+      <option name="WORKING_DIRECTORY" />
387
+      <method v="2">
388
+        <option name="Make" enabled="true" />
389
+      </method>
426 390
     </configuration>
427 391
     <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 392
       <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 393
       <properties />
452 394
       <listeners />
453
-      <method />
395
+      <method v="2">
396
+        <option name="Make" enabled="true" />
397
+      </method>
454 398
     </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 />
399
+    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
400
+      <module name="" />
401
+      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
402
+      <option name="PROGRAM_PARAMETERS" />
403
+      <predefined_log_file id="idea.log" enabled="true" />
404
+      <method v="2">
405
+        <option name="Make" enabled="true" />
406
+      </method>
467 407
     </configuration>
408
+    <list>
409
+      <item itemvalue="JUnit.ProductTest.testProductConstructor" />
410
+      <item itemvalue="JUnit.ProductTest" />
411
+      <item itemvalue="JUnit.ProductTest.testSetPrice" />
412
+      <item itemvalue="JUnit.ProductTest.testSetQuantity" />
413
+    </list>
414
+    <recent_temporary>
415
+      <list>
416
+        <item itemvalue="JUnit.ProductTest" />
417
+        <item itemvalue="JUnit.ProductTest.testSetQuantity" />
418
+        <item itemvalue="JUnit.ProductTest.testSetPrice" />
419
+        <item itemvalue="JUnit.ProductTest.testProductConstructor" />
420
+      </list>
421
+    </recent_temporary>
468 422
   </component>
469
-  <component name="ShelveChangesManager" show_recycled="false">
470
-    <option name="remove_strategy" value="false" />
423
+  <component name="SvnConfiguration">
424
+    <configuration />
471 425
   </component>
472 426
   <component name="TaskManager">
473 427
     <task active="true" id="Default" summary="Default task">
@@ -476,97 +430,157 @@
476 430
       <option name="number" value="Default" />
477 431
       <option name="presentableId" value="Default" />
478 432
       <updated>1515620835041</updated>
433
+      <workItem from="1540391133925" duration="661000" />
434
+      <workItem from="1540393564385" duration="2867000" />
479 435
     </task>
480 436
     <servers />
481 437
   </component>
438
+  <component name="TestHistory">
439
+    <history-entry file="ProductTest_testProductConstructor - 2018.10.24 at 11h 35m 21s.xml">
440
+      <configuration name="ProductTest.testProductConstructor" configurationId="JUnit" />
441
+    </history-entry>
442
+    <history-entry file="ProductTest_testProductConstructor - 2018.10.24 at 11h 36m 26s.xml">
443
+      <configuration name="ProductTest.testProductConstructor" configurationId="JUnit" />
444
+    </history-entry>
445
+    <history-entry file="ProductTest_testProductConstructor - 2018.10.24 at 11h 36m 51s.xml">
446
+      <configuration name="ProductTest.testProductConstructor" configurationId="JUnit" />
447
+    </history-entry>
448
+    <history-entry file="ProductTest - 2018.10.24 at 11h 38m 15s.xml">
449
+      <configuration name="ProductTest" configurationId="JUnit" />
450
+    </history-entry>
451
+    <history-entry file="ProductTest - 2018.10.24 at 11h 45m 17s.xml">
452
+      <configuration name="ProductTest" configurationId="JUnit" />
453
+    </history-entry>
454
+    <history-entry file="ProductTest - 2018.10.24 at 11h 48m 44s.xml">
455
+      <configuration name="ProductTest" configurationId="JUnit" />
456
+    </history-entry>
457
+    <history-entry file="ProductTest - 2018.10.24 at 11h 49m 06s.xml">
458
+      <configuration name="ProductTest" configurationId="JUnit" />
459
+    </history-entry>
460
+    <history-entry file="ProductTest_testSetPrice - 2018.10.24 at 11h 52m 14s.xml">
461
+      <configuration name="ProductTest.testSetPrice" configurationId="JUnit" />
462
+    </history-entry>
463
+    <history-entry file="ProductTest_testSetQuantity - 2018.10.24 at 11h 53m 26s.xml">
464
+      <configuration name="ProductTest.testSetQuantity" configurationId="JUnit" />
465
+    </history-entry>
466
+    <history-entry file="ProductTest - 2018.10.24 at 11h 53m 39s.xml">
467
+      <configuration name="ProductTest" configurationId="JUnit" />
468
+    </history-entry>
469
+  </component>
470
+  <component name="TimeTrackingManager">
471
+    <option name="totallyTimeSpent" value="3528000" />
472
+  </component>
482 473
   <component name="ToolWindowManager">
483
-    <frame x="0" y="23" width="1920" height="1053" extended-state="6" />
474
+    <frame x="218" y="23" width="1310" height="959" extended-state="0" />
475
+    <editor active="true" />
484 476
     <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" />
477
+      <window_info content_ui="combo" id="Project" order="0" weight="0.25579977" />
478
+      <window_info id="Structure" order="1" weight="0.25" />
479
+      <window_info id="Nl-Palette" order="2" />
480
+      <window_info id="Favorites" order="3" side_tool="true" />
481
+      <window_info id="Image Layers" order="4" />
482
+      <window_info id="Designer" order="5" />
483
+      <window_info id="UI Designer" order="6" />
484
+      <window_info id="Capture Tool" order="7" />
485
+      <window_info anchor="bottom" id="Messages" weight="0.3298731" />
486
+      <window_info anchor="bottom" id="Message" order="0" />
487
+      <window_info anchor="bottom" id="Find" order="1" />
488
+      <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.3298731" />
489
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
490
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
491
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
492
+      <window_info anchor="bottom" id="TODO" order="6" />
493
+      <window_info anchor="bottom" id="Terminal" order="7" weight="0.32871974" />
494
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
495
+      <window_info anchor="bottom" id="Version Control" order="9" />
496
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
497
+      <window_info active="true" anchor="right" id="Coverage" side_tool="true" visible="true" weight="0.329653" />
498
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
499
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
500
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
501
+      <window_info anchor="right" id="Palette" order="3" />
502
+      <window_info anchor="right" id="Capture Analysis" order="4" />
503
+      <window_info anchor="right" id="Theme Preview" order="5" />
504
+      <window_info anchor="right" id="Properties" order="6" />
505
+      <window_info anchor="right" id="Palette&#9;" order="7" />
506
+      <window_info anchor="right" id="Maven Projects" order="8" />
507
+      <window_info anchor="right" id="Database" order="9" />
512 508
     </layout>
513 509
   </component>
510
+  <component name="TypeScriptGeneratedFilesManager">
511
+    <option name="version" value="1" />
512
+  </component>
514 513
   <component name="VcsContentAnnotationSettings">
515 514
     <option name="myLimit" value="2678400000" />
516 515
   </component>
517
-  <component name="XDebuggerManager">
518
-    <breakpoint-manager />
519
-    <watches-manager />
520
-  </component>
521 516
   <component name="editorHistoryManager">
522
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
517
+    <entry file="file://$PROJECT_DIR$/.gitignore">
523 518
       <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 />
519
+        <state relative-caret-position="90">
520
+          <caret line="6" column="5" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
527 521
         </state>
528 522
       </provider>
529 523
     </entry>
530
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
524
+    <entry file="file://$PROJECT_DIR$/README.md">
525
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
526
+        <state split_layout="SPLIT">
527
+          <first_editor relative-caret-position="285">
528
+            <caret line="19" column="27" selection-start-line="19" selection-start-column="27" selection-end-line="19" selection-end-column="27" />
529
+          </first_editor>
530
+          <second_editor />
531
+        </state>
532
+      </provider>
533
+    </entry>
534
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory">
535
+      <provider selected="true" editor-type-id="text-editor" />
536
+    </entry>
537
+    <entry file="file://$PROJECT_DIR$/pom.xml">
531 538
       <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 />
539
+        <state relative-caret-position="270">
540
+          <caret line="18" column="19" selection-start-line="18" selection-start-column="19" selection-end-line="18" selection-end-column="19" />
535 541
         </state>
536 542
       </provider>
537 543
     </entry>
538
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
544
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
539 545
       <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 />
546
+        <state relative-caret-position="120">
547
+          <caret line="8" selection-start-line="8" selection-end-line="8" />
543 548
         </state>
544 549
       </provider>
545 550
     </entry>
546
-    <entry file="file://$PROJECT_DIR$/.gitignore">
551
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
547 552
       <provider selected="true" editor-type-id="text-editor">
548 553
         <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 />
554
+          <caret line="6" selection-start-line="6" selection-end-line="6" />
551 555
         </state>
552 556
       </provider>
553 557
     </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 />
558
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
559
+      <provider selected="true" editor-type-id="text-editor">
560
+        <state relative-caret-position="540">
561
+          <caret line="36" selection-start-line="36" selection-end-line="36" />
562
+          <folding>
563
+            <element signature="e#366#367#0" expanded="true" />
564
+            <element signature="e#394#395#0" expanded="true" />
565
+            <element signature="e#436#437#0" expanded="true" />
566
+            <element signature="e#470#471#0" expanded="true" />
567
+            <element signature="e#502#503#0" expanded="true" />
568
+            <element signature="e#533#534#0" expanded="true" />
569
+            <element signature="e#578#579#0" expanded="true" />
570
+            <element signature="e#618#619#0" expanded="true" />
571
+            <element signature="e#652#653#0" expanded="true" />
572
+            <element signature="e#677#678#0" expanded="true" />
573
+          </folding>
562 574
         </state>
563 575
       </provider>
564 576
     </entry>
565
-    <entry file="file://$PROJECT_DIR$/pom.xml">
577
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
566 578
       <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 />
579
+        <state relative-caret-position="1080">
580
+          <caret line="72" column="11" selection-start-line="72" selection-start-column="11" selection-end-line="72" selection-end-column="11" />
581
+          <folding>
582
+            <element signature="imports" expanded="true" />
583
+          </folding>
570 584
         </state>
571 585
       </provider>
572 586
     </entry>

+ 9
- 0
pom.xml View File

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

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

@@ -0,0 +1,9 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+
4
+public class Inventory {
5
+
6
+
7
+
8
+
9
+}

+ 6
- 0
src/main/java/com/zipcodewilmington/productmanager/MainApplication.java View File

@@ -4,4 +4,10 @@ package com.zipcodewilmington.productmanager;
4 4
  * Created by leon on 1/10/18.
5 5
  */
6 6
 public class MainApplication {
7
+
8
+    public static void main(String[] args) {
9
+
10
+
11
+    }
12
+
7 13
 }

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

@@ -4,4 +4,35 @@ 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 quantity;
10
+    private static long id = 1;
11
+
12
+    public Product(double price, int quantity) {
13
+        this.price = price;
14
+        this.quantity = quantity;
15
+        this.id = id++;
16
+    }
17
+
18
+    public double getPrice() {
19
+        return price;
20
+    }
21
+
22
+    public void setPrice(double price) {
23
+        this.price = price;
24
+    }
25
+
26
+    public int getQuantity() {
27
+        return quantity;
28
+    }
29
+
30
+    public void setQuantity(int quantity) {
31
+        this.quantity = quantity;
32
+    }
33
+
34
+    public static long getId() {
35
+        return id;
36
+    }
37
+
7 38
 }

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

@@ -1,7 +1,79 @@
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 testProductConstructorPrice() {
12
+    // Given
13
+        double price = 6.00;
14
+        int quantity = 10;
15
+        double expected = price;
16
+
17
+        //When
18
+        Product product = new Product(price, quantity);
19
+        double actual = product.getPrice();
20
+
21
+        //Then
22
+        Assert.assertEquals(expected, actual, 0.01);
23
+
24
+
25
+    }
26
+
27
+    @Test
28
+    public void testProductConstructorQuantity() {
29
+        // Given
30
+        double price = 6.00;
31
+        int quantity = 10;
32
+        double expected = quantity;
33
+
34
+        //When
35
+        Product product = new Product(price, quantity);
36
+        double actual = product.getQuantity();
37
+
38
+        //Then
39
+        Assert.assertEquals(expected, actual, 0.01);
40
+
41
+
42
+    }
43
+
44
+    @Test
45
+    public void testSetPrice() {
46
+        // Given
47
+        double price = 6.00;
48
+        int quantity = 10;
49
+        double newPrice = 8.00;
50
+        double expected = newPrice;
51
+
52
+        //When
53
+        Product product = new Product(price, quantity);
54
+        product.setPrice(newPrice);
55
+        double actual = product.getPrice();
56
+
57
+        //Then
58
+        Assert.assertEquals(expected, actual, 0.01);
59
+
60
+    }
61
+
62
+    @Test
63
+    public void testSetQuantity() {
64
+        // Given
65
+        double price = 6.00;
66
+        int quantity = 10;
67
+        int newQuantity = 44;
68
+        int expected = newQuantity;
69
+
70
+        //When
71
+        Product product = new Product(price, quantity);
72
+        product.setQuantity(newQuantity);
73
+        int actual = product.getQuantity();
74
+
75
+        //Then
76
+        Assert.assertEquals(expected, actual, 0.01);
77
+
78
+    }
79
+}