Component testing of locator

Improving the code coverage of locator with component tests.

Signed-off-by: Gabor Toth <gabor.toth2@arm.com>
Signed-off-by: Gabor Ambrus <gabor.ambrus@arm.com>
Change-Id: I9026614e510faa3164765db3b56e13db33f81f74
diff --git a/components/service/locator/test/component.cmake b/components/service/locator/test/component.cmake
index 04e98f3..fb8928f 100644
--- a/components/service/locator/test/component.cmake
+++ b/components/service/locator/test/component.cmake
@@ -10,4 +10,5 @@
 
 target_sources(${TGT} PRIVATE
 	"${CMAKE_CURRENT_LIST_DIR}/sn_tests.cpp"
+	"${CMAKE_CURRENT_LIST_DIR}/service_locator_tests.cpp"
 	)