Parcourir la source

Forgot to push

Nathan Hall il y a 6 ans
Parent
révision
53eaaa679b

+ 2
- 0
.idea/compiler.xml Voir le fichier

@@ -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 Voir le fichier

@@ -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 Voir le fichier

@@ -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 Voir le fichier

@@ -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>

+ 418
- 387
.idea/workspace.xml Voir le fichier

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

+ 14
- 0
pom.xml Voir le fichier

@@ -7,6 +7,20 @@
7 7
     <groupId>com.zipcodewilmington</groupId>
8 8
     <artifactId>productmanager</artifactId>
9 9
     <version>1.0-SNAPSHOT</version>
10
+    <dependencies>
11
+        <dependency>
12
+            <groupId>junit</groupId>
13
+            <artifactId>junit</artifactId>
14
+            <version>RELEASE</version>
15
+            <scope>test</scope>
16
+        </dependency>
17
+        <dependency>
18
+            <groupId>junit</groupId>
19
+            <artifactId>junit</artifactId>
20
+            <version>RELEASE</version>
21
+            <scope>test</scope>
22
+        </dependency>
23
+    </dependencies>
10 24
 
11 25
 
12 26
 </project>

+ 62
- 0
src/main/java/com/zipcodewilmington/productmanager/Inventory.java Voir le fichier

@@ -0,0 +1,62 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+import java.util.ArrayList;
4
+
5
+public class Inventory {
6
+
7
+    ArrayList<Product> list = new ArrayList<Product>();
8
+
9
+    public void addProduct(String name, int id, double price, int quantity){
10
+        list.add(new Product(name, id, price, quantity));
11
+    }
12
+
13
+    public void removeProductById(int id) {
14
+        list.remove(findProductById(id));
15
+    }
16
+
17
+    public void removeProductByName(String name) {
18
+        list.remove(findProductByName(name));
19
+    }
20
+
21
+    public Product findProductById(int id){
22
+        Product result = null;
23
+        for (Product p : list){
24
+            if (p.getId() == id){
25
+                result = p;
26
+            }
27
+        }
28
+
29
+        if (result == null){
30
+            System.out.println("Can't find product!");
31
+        }
32
+        return result;
33
+    }
34
+
35
+    public Product findProductByName(String name){
36
+        Product result = null;
37
+        for (Product p : list){
38
+            if (p.getName().equals(name)){
39
+                result = p;
40
+            }
41
+        }
42
+
43
+        if (result == null){
44
+            System.out.println("Can't find product!");
45
+        }
46
+        return result;
47
+    }
48
+
49
+    public void addQuantity(String name, int i) {
50
+        Product productToAdd = findProductByName(name);
51
+        int newQuantity = productToAdd.getQuantity() + i;
52
+        productToAdd.setQuantity(newQuantity);
53
+    }
54
+
55
+    public void printInventory() {
56
+
57
+        System.out.println("PRODUCT\tID\tQUANITY\tPRICE\t");
58
+        for (Product p : list) {
59
+            System.out.println(p.getName() + "\t"+ p.getId() + "\t"+ p.getPrice() + "\t"+ p.getQuantity());
60
+        }
61
+    }
62
+}

+ 100
- 0
src/main/java/com/zipcodewilmington/productmanager/MainApplication.java Voir le fichier

@@ -1,7 +1,107 @@
1 1
 package com.zipcodewilmington.productmanager;
2 2
 
3
+import java.sql.SQLOutput;
4
+import java.util.Scanner;
5
+import java.util.*;
6
+
7
+
3 8
 /**
4 9
  * Created by leon on 1/10/18.
5 10
  */
6 11
 public class MainApplication {
12
+
13
+    private static int id = 6;
14
+
15
+
16
+    public static void main(String[] args) {
17
+        Product jacket = new Product("Jacket", 1, 29.99, 5);
18
+        Product hat = new Product("Hat", 2, 9.99, 15);
19
+        Product shirt = new Product("Shirt", 3, 14.99, 10);
20
+        Product pants = new Product("Pants", 4, 19.99, 10);
21
+        Product shoes = new Product("Shoes", 5, 29.99, 5);
22
+
23
+        Scanner scan = new Scanner(System.in);
24
+        int toDo = 0;
25
+
26
+        while (toDo != 8) {
27
+            System.out.println("What would you like to do?");
28
+            System.out.println("Type '1' to ADD a product");
29
+            System.out.println("Type '2' to REMOVE a product");
30
+            System.out.println("Type '3' to FIND a product by ID");
31
+            System.out.println("Type '4' to FIND a product by NAME");
32
+            System.out.println("Type '5' to ADD a QUANTITY to the Inventory");
33
+            System.out.println("Type '6' to REMOVE a QUANTITY to the Inventory");
34
+            System.out.println("Type '7' to PRINT list of inventory");
35
+            System.out.println("Type '8' to QUIT");
36
+            toDo = scan.nextInt();
37
+            Inventory invent = new Inventory();
38
+
39
+
40
+            switch (toDo) {
41
+                case 1:
42
+                    id++;
43
+                    System.out.println("What is the NAME of the PRODUCT would you like to ADD?");
44
+                    String addProduct = scan.next();
45
+                    System.out.println("What is the PRICE of the " + addProduct + "?");
46
+                    Double addProductPrice = scan.nextDouble();
47
+                    System.out.println("What is the QUANTITY of " + addProduct + " that you would like to add?");
48
+                    int addProductQuantity = scan.nextInt();
49
+                    System.out.println("PRODUCT\tID\tQUANITY\tPRICE\t");
50
+                    System.out.println(addProduct + "\t" + id + "\t" + addProductQuantity + "\t\t" + addProductPrice);
51
+
52
+
53
+                    Product product = new Product(addProduct, id, addProductPrice, addProductQuantity);
54
+                    break;
55
+                case 2:
56
+                    id--;
57
+                    System.out.println("How would you like to remove the product?");
58
+                    System.out.println("Type '1' to REMOVE by ID:");
59
+                    System.out.println("Type '2' to REMOVE by NAME:");
60
+                    int howToRemove = scan.nextInt();
61
+
62
+
63
+                    if (howToRemove == 1) {
64
+                        System.out.println("What is the ID of the product to be REMOVED?");
65
+                        int idToRemove = scan.nextInt();
66
+                        invent.list.remove(idToRemove);
67
+                    } else {
68
+                        System.out.println("What is the NAME of the product to be REMOVED?");
69
+                        String nameToRemove = scan.next();
70
+                        invent.list.remove(nameToRemove);
71
+                    }
72
+                    break;
73
+                case 3:
74
+                    System.out.println("What is the ID of the product?");
75
+                    int idToFind = scan.nextInt();
76
+                    invent.findProductById(idToFind);
77
+                    System.out.println("PRODUCT\tID\tQUANITY\tPRICE\t");
78
+//                    System.out.println(addProduct + "\t" + id + "\t" + addProductQuantity + "\t\t" + addProductPrice);
79
+                    break;
80
+                case 4:
81
+                    System.out.println("What is the NAME of the product?");
82
+                    String nameToFind = scan.next();
83
+                    invent.findProductByName(nameToFind);
84
+                    System.out.println("PRODUCT\tID\tQUANITY\tPRICE\t");
85
+//                    System.out.println(addProduct + "\t" + id + "\t" + addProductQuantity + "\t\t" + addProductPrice);
86
+                    break;
87
+                case 5:
88
+                    System.out.println("What product do you want to add to?");
89
+                    nameToFind = scan.next();
90
+                    System.out.println("How many " + nameToFind + "'s do you want to add?");
91
+                    int totalToAdd = scan.nextInt();
92
+                    invent.addQuantity(nameToFind, totalToAdd);
93
+
94
+                    break;
95
+                case 6:
96
+                    break;
97
+                case 7:
98
+                    invent.printInventory();
99
+
100
+                    break;
101
+            }
102
+
103
+        }
104
+
105
+    }
106
+
7 107
 }

+ 54
- 0
src/main/java/com/zipcodewilmington/productmanager/Product.java Voir le fichier

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

+ 65
- 0
src/test/java/com/zipcodewilmington/productmanager/InventoryTest.java Voir le fichier

@@ -0,0 +1,65 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+
6
+public class InventoryTest {
7
+
8
+    Inventory inv = new Inventory();
9
+
10
+    @Test
11
+    public void addProductTest(){
12
+        //Given
13
+
14
+
15
+        //when
16
+        inv.addProduct("Jacket", 1, 29.99, 1);
17
+        int expected = 1;
18
+        int actual = inv.list.size();
19
+
20
+//        //Then
21
+        Assert.assertEquals(expected, actual);
22
+    }
23
+
24
+//    @Test
25
+//    public void addQuantityTest(){
26
+//        //Given
27
+//        Product product = new Product("Jacket", 1, 29.99, 5);
28
+//
29
+//        //when
30
+//        inv.addQuantity("Jacket", 5);
31
+//        int expected = 10;
32
+//        int actual = ;
33
+//
34
+////        //Then
35
+//        Assert.assertEquals(expected, actual);
36
+//    }
37
+
38
+    @Test
39
+    public void removeProductTestById(){
40
+        //Given
41
+        inv.addProduct("Jacket", 1, 29.99, 1);
42
+
43
+        //when
44
+        inv.removeProductById(1);
45
+        int expected = 0;
46
+        int actual = inv.list.size();
47
+
48
+//        //Then
49
+        Assert.assertEquals(expected, actual);
50
+    }
51
+
52
+    @Test
53
+    public void removeProductTestByName(){
54
+        //Given
55
+        inv.addProduct("Jacket", 1, 29.99, 1);
56
+
57
+        //when
58
+        inv.removeProductByName("Jacket");
59
+        Product expected = null;
60
+        Product actual = inv.findProductByName("Jacket");
61
+
62
+//        //Then
63
+        Assert.assertEquals(expected, actual);
64
+    }
65
+}

+ 19
- 0
src/test/java/com/zipcodewilmington/productmanager/ProductTest.java Voir le fichier

@@ -1,7 +1,26 @@
1 1
 package com.zipcodewilmington.productmanager;
2
+import org.junit.Test;
3
+import org.junit.Assert;
2 4
 
3 5
 /**
4 6
  * Created by leon on 1/10/18.
5 7
  */
6 8
 public class ProductTest {
9
+
10
+    Product product = new Product("Jacket", 1, 29.99, 1);
11
+
12
+
13
+    @Test
14
+    public void testGetSetPrice(){
15
+
16
+
17
+        //when
18
+        product.setPrice(39.99);
19
+        double actualPrice = product.getPrice();
20
+
21
+        //Then
22
+        Assert.assertEquals(39.99, actualPrice, 0.001);
23
+    }
24
+
25
+
7 26
 }