Add unittest for ConstructResourceTest
Add unittest for ConstructResourceTest

Added a test case for ConstructResourceTest to simulate the
scenario of Resource creation with host not having port number.

Change-Id: Ia9ffa317956b8c73dca16a0701c9fd28c8cbaed1
Signed-off-by: Ravi Nanjundappa <2b6ed790834a9696042087f8677f81934b9f07fd@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2115
Tested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>
Reviewed-by: Erich Keane <ec9f61fe526c14bb62c55d7c978f025ee6b3583d@intel.com>

santais/iotivity_1.1,santais/iotivity_1.1.0,iotivity/iotivity,santais/iotivity_1.1.0,santais/iotivity_1.1,WojciechLuczkow/iotivity,santais/iotivity,rzr/iotivity,rzr/iotivity,santais/iotivity,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1.0,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1.0,santais/iotivity_1.1,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,iotivity/iotivity,santais/iotivity,santais/iotivity,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,iotivity/iotivity,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1,rzr/iotivity,rzr/iotivity,santais/iotivity,santais/iotivity_1.1,iotivity/iotivity,santais/iotivity_1.1.0,iotivity/iotivity,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1.0,rzr/iotivity,santais/iotivity,santais/iotivity_1.1,iotivity/iotivity,rzr/iotivity,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1.0,iotivity/iotivity,iotivity/iotivity,santais/iotivity_1.1,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,rzr/iotivity,santais/iotivity