Browse Source

Product class

Seth 6 years ago
parent
commit
3c817209eb

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

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

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

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

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

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

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

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

+ 429
- 382
.idea/workspace.xml View File

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

+ 19
- 0
pom.xml View File

@@ -7,6 +7,25 @@
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>4.12</version>
15
+        </dependency>
16
+    </dependencies>
17
+    <build>
18
+        <plugins>
19
+            <plugin>
20
+                <groupId>org.apache.maven.plugins</groupId>
21
+                <artifactId>maven-compiler-plugin</artifactId>
22
+                <configuration>
23
+                    <source>1.8</source>
24
+                    <target>1.8</target>
25
+                </configuration>
26
+            </plugin>
27
+        </plugins>
28
+    </build>
10 29
 
11 30
 
12 31
 </project>

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

@@ -4,4 +4,41 @@ package com.zipcodewilmington.productmanager;
4 4
  * Created by leon on 1/10/18.
5 5
  */
6 6
 public class Product {
7
+
8
+    private int quantity = 0;
9
+    private double price = 0.0;
10
+    private int id;
11
+
12
+    public Product(int quantity, double price, int id) {
13
+
14
+        this.quantity = quantity;
15
+        this.price = price;
16
+        this.id = id;
17
+
18
+
19
+    }
20
+
21
+    public int getQuantity() {
22
+
23
+        return this.quantity;
24
+    }
25
+
26
+    public double getPrice() {
27
+
28
+        return this.price;
29
+    }
30
+
31
+    public int getId() {
32
+
33
+        return this.id;
34
+    }
35
+
36
+    public void setQuantity(int num) {
37
+        this.quantity = num;
38
+
39
+    }
40
+
41
+    public void setPrice(double num) {
42
+        this.price = num;
43
+    }
7 44
 }

+ 91
- 0
src/test/java/com/zipcodewilmington/productmanager/ProductTest.java View File

@@ -1,7 +1,98 @@
1 1
 package com.zipcodewilmington.productmanager;
2 2
 
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+
6
+
7
+
3 8
 /**
4 9
  * Created by leon on 1/10/18.
5 10
  */
6 11
 public class ProductTest {
12
+
13
+    @Test
14
+    public void getQuantityTest() {
15
+        //Given
16
+        int expected = 15;
17
+
18
+        //When
19
+        Product product1 = new Product(15, 2.0, 4);
20
+        int actual = product1.getQuantity();
21
+
22
+        //Then
23
+        Assert.assertEquals(expected, actual);
24
+
25
+
26
+    }
27
+
28
+    @Test
29
+    public void getPriceTest() {
30
+        //Given
31
+        double expected = 3.0;
32
+
33
+        //When
34
+        Product product1 = new Product(7, 3.0, 5);
35
+        double actual = product1.getPrice();
36
+
37
+        //Then
38
+        Assert.assertEquals(expected, actual, .01);
39
+
40
+
41
+    }
42
+
43
+    @Test
44
+    public void getIdTest() {
45
+        //Given
46
+        int expected = 2;
47
+
48
+        //When
49
+        Product product1 = new Product(10, 4.0, 2);
50
+        int actual = product1.getId();
51
+
52
+        //Then
53
+        Assert.assertEquals(expected, actual);
54
+
55
+    }
56
+
57
+    @Test
58
+    public void setQuantityTest() {
59
+        //Given
60
+        int expected = 30;
61
+
62
+        //When
63
+        Product product1 = new Product(10, 3.0, 2);
64
+        product1.setQuantity(30);
65
+        int actual = product1.getQuantity();
66
+
67
+
68
+        //Then
69
+        Assert.assertEquals(expected, actual);
70
+
71
+    }
72
+
73
+    @Test
74
+    public void setPriceTest() {
75
+        //Given
76
+        double expected = 5.0;
77
+
78
+        //When
79
+        Product product1 = new Product(15, 2.0, 2);
80
+        product1.setPrice(5.0);
81
+        double actual = product1.getPrice();
82
+
83
+        //Then
84
+        Assert.assertEquals(expected, actual, .01);
85
+
86
+
87
+    }
88
+
89
+
7 90
 }
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+