document.write('<link rel="stylesheet" href="http://gist.github.com/stylesheets/gist/embed.css"/>')





document.write('<div id=\"gist-120473\" class=\"gist\">\n  \n  \n    \n            \n\n      <div class=\"gist-file\">\n        <div class=\"gist-data gist-syntax\">\n          \n          \n          \n            <div class=\"gist-highlight\"><pre><div class=\"line\" id=\"LC1\"><span class=\"kd\">public<\/span> <span class=\"kt\">void<\/span> <span class=\"nf\">givenACustomerWithAUser<\/span><span class=\"o\">()<\/span> <span class=\"kd\">throws<\/span> <span class=\"n\">ScriptException<\/span><span class=\"o\">,<\/span> <span class=\"n\">IOException<\/span><span class=\"o\">,<\/span> <span class=\"n\">InterruptedException<\/span> <span class=\"o\">{<\/span><\/div><div class=\"line\" id=\"LC2\">&nbsp;&nbsp;&nbsp;<span class=\"c1\">// do what ever is needed to create the customer, and a user, store as an instance var<\/span><\/div><div class=\"line\" id=\"LC3\"><span class=\"o\">}<\/span><\/div><div class=\"line\" id=\"LC4\">&nbsp;<\/div><div class=\"line\" id=\"LC5\"><span class=\"kd\">public<\/span> <span class=\"kt\">void<\/span> <span class=\"nf\">editTheirOwnDetails<\/span><span class=\"o\">()<\/span> <span class=\"kd\">throws<\/span> <span class=\"n\">IOException<\/span> <span class=\"o\">{<\/span><\/div><div class=\"line\" id=\"LC6\">&nbsp;&nbsp;&nbsp;&nbsp;<span class=\"c1\">// Do something to check the user can edit their details, throw an exception/assertion if false<\/span><\/div><div class=\"line\" id=\"LC7\"><span class=\"o\">}<\/span><\/div><div class=\"line\" id=\"LC8\">&nbsp;<\/div><\/pre><\/div>\n          \n        <\/div>\n\n        <div class=\"gist-meta\">\n          <a href=\"http://gist.github.com/raw/120473/32f57471f7e91eb166033b6332da00f821057af0/evanspec.java\" style=\"float:right;\">view raw<\/a>\n          <a href=\"http://gist.github.com/120473#file_evanspec.java\" style=\"float:right;margin-right:10px;color:#666\">evanspec.java<\/a>\n          <a href=\"http://gist.github.com/120473\">This Gist<\/a> brought to you by <a href=\"http://github.com\">GitHub<\/a>.\n        <\/div>\n      <\/div>\n    \n  \n<\/div>\n')
