{"id":6902,"date":"2020-12-22T13:09:37","date_gmt":"2020-12-22T04:09:37","guid":{"rendered":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/?p=6902"},"modified":"2020-12-22T13:12:03","modified_gmt":"2020-12-22T04:12:03","slug":"junit%e3%81%a7%e3%83%86%e3%82%b9%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%e6%9b%b8%e3%81%8f%e6%99%82%e3%81%ab%e6%b0%97%e3%82%92%e4%bb%98%e3%81%91%e3%81%a6%e3%81%84%e3%82%8b%e3%81%93%e3%81%a8","status":"publish","type":"post","link":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902","title":{"rendered":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068"},"content":{"rendered":"<div class=\"veu_autoEyeCatchBox\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" src=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076-1024x683.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076-1024x683.jpg 1024w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076-300x200.jpg 300w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076-768x512.jpg 768w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg 1280w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/div>\n<p>JUnit\u3068\u8a00\u3048\u3070Java\u3067\u66f8\u3044\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u81ea\u52d5\u5316\u3059\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3053\u306eJUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068\u3092<br \/>\n\u7d39\u4ecb\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-6904\" src=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076-1024x683.jpg\" alt=\"\" width=\"750\" height=\"500\" srcset=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076-1024x683.jpg 1024w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076-300x200.jpg 300w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076-768x512.jpg 768w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg 1280w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>\u307e\u305a\u59cb\u3081\u306b\u30b5\u30f3\u30d7\u30eb\u306e\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3067\u3059\u304c\u3001\u300cMyClass\u300d\u3068\u3044\u3046\u30af\u30e9\u30b9\u306b\u5b9a\u7fa9\u3055\u308c\u305f\u300cconvertValue(int value)\u300d\u3068\u3044\u3046\u9759\u7684\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u3068\u4eee\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u6b63\u5e38\u7cfb\u3068\u7570\u5e38\u7cfb\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u691c\u8a3c\u3059\u308b\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true \">public class MyClassTest {\r\n  \/\/ convertValue \u6b63\u5e38\u30b1\u30fc\u30b9(\u5c0f\u3055\u3044\u5024)\r\n  \/\/ 10\u4ee5\u4e0b\u306e\u5024\u3092\u6307\u5b9a\u3059\u308b\u306810\u500d\u306e\u5024\u3092\u8fd4\u3059\u3053\u3068\r\n  @Test\r\n  public void testConvertValueOkSmallValue() throws Exception {\r\n    assertEquals(0, MyClass.convertValue(0));\r\n    assertEquals(50, MyClass.convertValue(5));\r\n    assertEquals(100, MyClass.convertValue(10));\r\n  }\r\n\r\n  \/\/ convertValue \u6b63\u5e38\u30b1\u30fc\u30b9(\u5927\u304d\u3044\u5024)\r\n  \/\/ 10\u3088\u308a\u5927\u304d\u3044\u5024\u3092\u6307\u5b9a\u3059\u308b\u306820\u500d\u306e\u5024\u3092\u8fd4\u3059\u3053\u3068\r\n  @Test\r\n  public void testConvertValueOkLargeValue() throws Exception {\r\n    assertEquals(220, MyClass.convertValue(11));\r\n    assertEquals(400, MyClass.convertValue(20));\r\n  }\r\n\r\n  \/\/ convertValue \u5f15\u6570\u7570\u5e38\r\n  \/\/ \u5f15\u6570\u306b\u8ca0\u306e\u5024\u3092\u6307\u5b9a\u3059\u308b\u3068IllegalArgumentException\u304c\u30b9\u30ed\u30fc\u3055\u308c\u308b\u3053\u3068\r\n  @Test\r\n  public void testConvertValueExceptionMinusValue() throws Exception {\r\n    try {\r\n      MyClass.convertValue(-1);\r\n    } catch (IllegalArgumentException e) {\r\n      return;\r\n    }\r\n    fail();\r\n  }\r\n}<\/pre>\n<p>\u5b9f\u969b\u306b\u4f5c\u6210\u3059\u308b\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306f\u3082\u3063\u3068\u898f\u6a21\u304c\u5927\u304d\u304f\u8907\u96d1\u306a\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u30b5\u30f3\u30d7\u30eb\u306f\u4f55\u6c17\u306a\u304f\u66f8\u3044\u305f\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3067\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30c6\u30b9\u30c8\u5bfe\u8c61\u30e1\u30bd\u30c3\u30c9\u540d\u3068\u30c6\u30b9\u30c8\u306e\u6982\u7565\u3092\u66f8\u304f<\/h2>\n<p>\u30b3\u30e1\u30f3\u30c8\u6b04\u306b\u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u30e1\u30bd\u30c3\u30c9\u540d\u3068\u30c6\u30b9\u30c8\u306e\u6982\u7565\u30921\u884c\u306b\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f55\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u3069\u3093\u306a\u691c\u8a3c\u3092\u884c\u3046\u304b\u30921\u884c\u306b\u66f8\u3044\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u5f8c\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u898b\u305f\u6642\u306b\u30c6\u30b9\u30c8\u5185\u5bb9\u304c\u5206\u304b\u308a\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u66f4\u306b\u3001Grep\u306a\u3069\u3092\u99c6\u4f7f\u3059\u308b\u3053\u3068\u3067\u30c6\u30b9\u30c8\u5bfe\u8c61\u30e1\u30bd\u30c3\u30c9\u306e\u691c\u8a3c\u5185\u5bb9\u306e\u30ea\u30b9\u30c8\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u671f\u5f85\u52d5\u4f5c\u306e\u5185\u5bb9\u3092\u66f8\u304f<\/h2>\n<p>\u30b3\u30e1\u30f3\u30c8\u6b04\u306b\u3069\u3093\u306a\u52d5\u4f5c\u3092\u671f\u5f85\u3059\u308b\u304b\u3092\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4e0a\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u7c21\u5358\u306a\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306a\u306e\u3067\u691c\u8a3c\u5185\u5bb9\u304c\u5206\u304b\u308a\u3084\u3059\u304f\u554f\u984c\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u8907\u96d1\u306b\u306a\u308b\u3068\u5f8c\u304b\u3089\u898b\u305f\u6642\u306b\u4f55\u306e\u691c\u8a3c\u3092\u884c\u3046\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306a\u306e\u304b\u304c\u5206\u304b\u3089\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u306e\u540d\u524d\u306b\u306f\u9023\u756a\u3092\u4f7f\u7528\u3057\u306a\u3044<\/h2>\n<p>\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u306e\u540d\u524d\u306b\u306f\u306a\u308b\u3079\u304f\u9023\u756a\u3092\u4f7f\u7528\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u5f8c\u3067\u30c6\u30b9\u30c8\u5bfe\u8c61\u30e1\u30bd\u30c3\u30c9\u306b\u4ed5\u69d8\u5909\u66f4\u304c\u767a\u751f\u3057\u305f\u308a\u3057\u305f\u5834\u5408\u3001\u5f53\u7136\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3082\u4fee\u6b63\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3059\u304c\u3001\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u3092\u9023\u756a\u306e\u4e2d\u9593\u306b\u633f\u5165\u3057\u305f\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3046\u306a\u308b\u3068\u5f8c\u308d\u306e\u756a\u53f7\u3092\u5168\u3066\u305a\u3089\u3055\u306a\u3044\u3068\u3044\u3051\u306a\u304f\u306a\u308b\u306e\u3067\u975e\u5e38\u306b\u9762\u5012\u306a\u4f5c\u696d\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30e1\u30bd\u30c3\u30c9\u540d\u304b\u3089\u691c\u8a3c\u5185\u5bb9\u304c\u63a8\u6e2c\u3057\u306b\u304f\u304f\u306a\u3063\u305f\u308a\u306a\u3069\u3001\u3044\u304f\u3064\u304b\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b\u306e\u3067\u9023\u756a\u306f\u4f7f\u7528\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>1\u3064\u306e\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u3067\u8907\u6570\u306e\u691c\u8a3c\u3092\u884c\u308f\u306a\u3044<\/h2>\n<p>1\u3064\u306e\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u306e\u4e2d\u3067\u8907\u6570\u306e\u691c\u8a3c\u3092\u884c\u3046\u3068\u30e1\u30bd\u30c3\u30c9\u540d\u3092\u6c7a\u3081\u306b\u304f\u304f\u306a\u3063\u305f\u308a\u3001\u30c6\u30b9\u30c8\u5b9f\u884c\u6642\u306b\u30c6\u30b9\u30c8\u304c\u9014\u4e2d\u3067\u505c\u6b62\u3057\u305f\u5834\u5408\u306b\u505c\u6b62\u3057\u305f\u7b87\u6240\u4ee5\u964d\u306e\u691c\u8a3c\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u308a\u306a\u3069\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u767a\u751f\u3057\u307e\u3059\u306e\u3067\u3042\u307e\u308a\u304a\u52e7\u3081\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u4e00\u5ea6\u306e\u4e00\u62ec\u5b9f\u884c\u3067\u5168\u3066\u306eNG\u3092\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u3082\u30011\u30e1\u30bd\u30c3\u30c91\u691c\u8a3c\u304c\u671b\u307e\u3057\u3044\u3068\u8003\u3048\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u3089\u306e\u5185\u5bb9\u306f\u30c6\u30b9\u30c8\u5bfe\u8c61\u304c\u5c0f\u898f\u6a21\u3067\u3042\u308c\u3070\u7121\u8996\u3057\u3066\u3082\u305d\u308c\u307b\u3069\u554f\u984c\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u304c\u3001\u3042\u308b\u7a0b\u5ea6\u898f\u6a21\u304c\u5927\u304d\u304f\u306a\u308b\u3068\u4e00\u6c17\u306b\u5f71\u97ff\u304c\u51fa\u59cb\u3081\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u91cf\u7523\u3092\u59cb\u3081\u308b\u524d\u306b\u5f8c\u3005\u306e\u3053\u3068\u3082\u542b\u3081\u3066\u66f8\u304d\u65b9\u3092\u4e88\u3081\u691c\u8a0e\u3057\u3066\u304b\u3089\u4f5c\u696d\u306b\u53d6\u308a\u639b\u304b\u308b\u3053\u3068\u3067\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3057\u3084\u3059\u3044\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<hr \/>\n<p><a href=\"https:\/\/www.ois-yokohama.co.jp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6903 size-full\" src=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/ois_logo-a.jpg\" alt=\"\" width=\"318\" height=\"145\" srcset=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/ois_logo-a.jpg 318w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/ois_logo-a-300x137.jpg 300w\" sizes=\"auto, (max-width: 318px) 100vw, 318px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JUnit\u3068\u8a00\u3048\u3070Java\u3067\u66f8\u3044\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u81ea\u52d5\u5316\u3059\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002 \u4eca\u56de\u306f\u3053\u306eJUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068\u3092 \u7d39\u4ecb\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u305a\u59cb\u3081\u306b\u30b5\u30f3\u30d7\u30eb\u306e\u30c6\u30b9\u30c8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6904,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","vkExUnit_EyeCatch_disable":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[6],"tags":[875,876],"class_list":["post-6902","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engineer","tag-junit","tag-876"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"akiyama\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"OIS\u30d6\u30ed\u30b0 | OIS\u306e\u30d6\u30ed\u30b0\u7d39\u4ecb\" \/>\n\t\t<meta property=\"og:type\" content=\"activity\" \/>\n\t\t<meta property=\"og:title\" content=\"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068 | OIS\u30d6\u30ed\u30b0\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t\t<meta property=\"og:image:height\" content=\"854\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@ois_yokohama\" \/>\n\t\t<meta name=\"twitter:title\" content=\"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068 | OIS\u30d6\u30ed\u30b0\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@ois_yokohama\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#article\",\"name\":\"JUnit\\u3067\\u30c6\\u30b9\\u30c8\\u30b3\\u30fc\\u30c9\\u3092\\u66f8\\u304f\\u6642\\u306b\\u6c17\\u3092\\u4ed8\\u3051\\u3066\\u3044\\u308b\\u3053\\u3068 | OIS\\u30d6\\u30ed\\u30b0\",\"headline\":\"JUnit\\u3067\\u30c6\\u30b9\\u30c8\\u30b3\\u30fc\\u30c9\\u3092\\u66f8\\u304f\\u6642\\u306b\\u6c17\\u3092\\u4ed8\\u3051\\u3066\\u3044\\u308b\\u3053\\u3068\",\"author\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/author\\\/akiyama#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/pic_c076.jpg\",\"width\":1280,\"height\":854},\"datePublished\":\"2020-12-22T13:09:37+09:00\",\"dateModified\":\"2020-12-22T13:12:03+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#webpage\"},\"articleSection\":\"\\u6280\\u8853\\u8b1b\\u7fd2, JUnit, \\u30c6\\u30b9\\u30c8\\u30b3\\u30fc\\u30c9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/category\\\/engineer#listItem\",\"name\":\"\\u6280\\u8853\\u8b1b\\u7fd2\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/category\\\/engineer#listItem\",\"position\":2,\"name\":\"\\u6280\\u8853\\u8b1b\\u7fd2\",\"item\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/category\\\/engineer\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#listItem\",\"name\":\"JUnit\\u3067\\u30c6\\u30b9\\u30c8\\u30b3\\u30fc\\u30c9\\u3092\\u66f8\\u304f\\u6642\\u306b\\u6c17\\u3092\\u4ed8\\u3051\\u3066\\u3044\\u308b\\u3053\\u3068\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#listItem\",\"position\":3,\"name\":\"JUnit\\u3067\\u30c6\\u30b9\\u30c8\\u30b3\\u30fc\\u30c9\\u3092\\u66f8\\u304f\\u6642\\u306b\\u6c17\\u3092\\u4ed8\\u3051\\u3066\\u3044\\u308b\\u3053\\u3068\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/category\\\/engineer#listItem\",\"name\":\"\\u6280\\u8853\\u8b1b\\u7fd2\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/#organization\",\"name\":\"OIS\\u30d6\\u30ed\\u30b0\",\"description\":\"OIS\\u306e\\u30d6\\u30ed\\u30b0\\u7d39\\u4ecb\",\"url\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/OIS\\u30ed\\u30b4-\\u6587\\u5b57\\u306a\\u3057.png\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902\\\/#organizationLogo\",\"width\":128,\"height\":128},\"image\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/orientalinformationservice\",\"https:\\\/\\\/x.com\\\/ois_yokohama\",\"https:\\\/\\\/www.instagram.com\\\/ois_yokohama1978\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/author\\\/akiyama#author\",\"url\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/author\\\/akiyama\",\"name\":\"akiyama\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff5bd4b5c6242b44911d761454b7fa2ee660c3e49a42278fda2507916d9816d2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"akiyama\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#webpage\",\"url\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902\",\"name\":\"JUnit\\u3067\\u30c6\\u30b9\\u30c8\\u30b3\\u30fc\\u30c9\\u3092\\u66f8\\u304f\\u6642\\u306b\\u6c17\\u3092\\u4ed8\\u3051\\u3066\\u3044\\u308b\\u3053\\u3068 | OIS\\u30d6\\u30ed\\u30b0\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/author\\\/akiyama#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/author\\\/akiyama#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/pic_c076.jpg\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902\\\/#mainImage\",\"width\":1280,\"height\":854},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/archives\\\/6902#mainImage\"},\"datePublished\":\"2020-12-22T13:09:37+09:00\",\"dateModified\":\"2020-12-22T13:12:03+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/#website\",\"url\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/\",\"name\":\"OIS\\u30d6\\u30ed\\u30b0\",\"description\":\"OIS\\u306e\\u30d6\\u30ed\\u30b0\\u7d39\\u4ecb\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ois-yokohama.co.jp\\\/oisblog2018\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068 | OIS\u30d6\u30ed\u30b0","description":"","canonical_url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#article","name":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068 | OIS\u30d6\u30ed\u30b0","headline":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068","author":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/author\/akiyama#author"},"publisher":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg","width":1280,"height":854},"datePublished":"2020-12-22T13:09:37+09:00","dateModified":"2020-12-22T13:12:03+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#webpage"},"isPartOf":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#webpage"},"articleSection":"\u6280\u8853\u8b1b\u7fd2, JUnit, \u30c6\u30b9\u30c8\u30b3\u30fc\u30c9"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018#listItem","position":1,"name":"Home","item":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/category\/engineer#listItem","name":"\u6280\u8853\u8b1b\u7fd2"}},{"@type":"ListItem","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/category\/engineer#listItem","position":2,"name":"\u6280\u8853\u8b1b\u7fd2","item":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/category\/engineer","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#listItem","name":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#listItem","position":3,"name":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/category\/engineer#listItem","name":"\u6280\u8853\u8b1b\u7fd2"}}]},{"@type":"Organization","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/#organization","name":"OIS\u30d6\u30ed\u30b0","description":"OIS\u306e\u30d6\u30ed\u30b0\u7d39\u4ecb","url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/","logo":{"@type":"ImageObject","url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2025\/09\/OIS\u30ed\u30b4-\u6587\u5b57\u306a\u3057.png","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902\/#organizationLogo","width":128,"height":128},"image":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/orientalinformationservice","https:\/\/x.com\/ois_yokohama","https:\/\/www.instagram.com\/ois_yokohama1978\/"]},{"@type":"Person","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/author\/akiyama#author","url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/author\/akiyama","name":"akiyama","image":{"@type":"ImageObject","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/ff5bd4b5c6242b44911d761454b7fa2ee660c3e49a42278fda2507916d9816d2?s=96&d=mm&r=g","width":96,"height":96,"caption":"akiyama"}},{"@type":"WebPage","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#webpage","url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902","name":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068 | OIS\u30d6\u30ed\u30b0","inLanguage":"ja","isPartOf":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/#website"},"breadcrumb":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#breadcrumblist"},"author":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/author\/akiyama#author"},"creator":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/author\/akiyama#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902\/#mainImage","width":1280,"height":854},"primaryImageOfPage":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902#mainImage"},"datePublished":"2020-12-22T13:09:37+09:00","dateModified":"2020-12-22T13:12:03+09:00"},{"@type":"WebSite","@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/#website","url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/","name":"OIS\u30d6\u30ed\u30b0","description":"OIS\u306e\u30d6\u30ed\u30b0\u7d39\u4ecb","inLanguage":"ja","publisher":{"@id":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"OIS\u30d6\u30ed\u30b0 | OIS\u306e\u30d6\u30ed\u30b0\u7d39\u4ecb","og:type":"activity","og:title":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068 | OIS\u30d6\u30ed\u30b0","og:url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902","og:image":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg","og:image:secure_url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg","og:image:width":1280,"og:image:height":854,"twitter:card":"summary","twitter:site":"@ois_yokohama","twitter:title":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068 | OIS\u30d6\u30ed\u30b0","twitter:creator":"@ois_yokohama","twitter:image":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg"},"aioseo_meta_data":{"post_id":"6902","title":null,"description":"","keywords":"","keyphrases":null,"primary_term":null,"canonical_url":"","og_title":"","og_description":"","og_object_type":"activity","og_image_type":"custom_image","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076-1024x683.jpg","og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"custom_image","twitter_image_url":null,"twitter_image_custom_url":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2020\/12\/pic_c076.jpg","twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-12-24 01:50:28","updated":"2025-09-17 12:04:07","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/category\/engineer\" title=\"\u6280\u8853\u8b1b\u7fd2\">\u6280\u8853\u8b1b\u7fd2<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tJUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018"},{"label":"\u6280\u8853\u8b1b\u7fd2","link":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/category\/engineer"},{"label":"JUnit\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u6642\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068","link":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/6902"}],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/6902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/comments?post=6902"}],"version-history":[{"count":2,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/6902\/revisions"}],"predecessor-version":[{"id":6906,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/6902\/revisions\/6906"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/media\/6904"}],"wp:attachment":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/media?parent=6902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/categories?post=6902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/tags?post=6902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}