test_class.file: booking/src/test/java/org/koenighotze/jee7hotel/booking/business/GuestFeedSubscriberTest.java
test_class.identifier: GuestFeedSubscriberTest
test_case.body: @Test
      public void the_guest_url_is_set_to_localhost_per_default() {
          assumeThat(getenv(GUEST_URI_ENV_PROPERTY_KEY), is(nullValue()));
  
          assertThat(new GuestFeedSubscriber().buildGuestUrl()).startsWith("http://localhost:8080/guest");
      }
test_case.class_method_signature: GuestFeedSubscriberTest.the_guest_url_is_set_to_localhost_per_default()
test_case.full_signature: @Test public void the_guest_url_is_set_to_localhost_per_default()
test_case.identifier: the_guest_url_is_set_to_localhost_per_default
test_case.invocations: assumeThat getenv is nullValue startsWith assertThat buildGuestUrl
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void the_guest_url_is_set_to_localhost_per_default()
focal_class.declarator: GUEST_URI_ENV_PROPERTY_KEY = "GUEST_URI"
focal_class.modifier: static final
focal_class.original_string: static final String GUEST_URI_ENV_PROPERTY_KEY = "GUEST_URI";
focal_class.type: String
focal_class.var_name: GUEST_URI_ENV_PROPERTY_KEY
focal_class.declarator: LOGGER = Logger.getLogger(GuestFeedSubscriber.class.getName())
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = Logger.getLogger(GuestFeedSubscriber.class.getName());
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: lastUpdate = null
focal_class.modifier: private
focal_class.original_string: private Date lastUpdate = null;
focal_class.type: Date
focal_class.var_name: lastUpdate
focal_class.declarator: abdera
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Abdera abdera;
focal_class.type: Abdera
focal_class.var_name: abdera
focal_class.declarator: guestModelRepository
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private GuestModelRepository guestModelRepository;
focal_class.type: GuestModelRepository
focal_class.var_name: guestModelRepository
focal_class.file: booking/src/main/java/org/koenighotze/jee7hotel/booking/business/GuestFeedSubscriber.java
focal_class.identifier: GuestFeedSubscriber
focal_class.class_method_signature: GuestFeedSubscriber.init()
focal_class.full_signature: @PostConstruct public void init()
focal_class.identifier: init
focal_class.modifiers: @PostConstruct public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: GuestFeedSubscriber.buildGuestUrl()
focal_class.full_signature:  String buildGuestUrl()
focal_class.identifier: buildGuestUrl
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String buildGuestUrl()
focal_class.class_method_signature: GuestFeedSubscriber.determineGuestHostAndPort()
focal_class.full_signature:  String determineGuestHostAndPort()
focal_class.identifier: determineGuestHostAndPort
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String determineGuestHostAndPort()
focal_class.class_method_signature: GuestFeedSubscriber.updateFeed()
focal_class.full_signature: @Schedule(minute = "*/1", hour = "*") public void updateFeed()
focal_class.identifier: updateFeed
focal_class.modifiers: @Schedule(minute = "*/1", hour = "*") public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void updateFeed()
focal_class.class_method_signature: GuestFeedSubscriber.fetchGuest(URI link)
focal_class.full_signature: private void fetchGuest(URI link)
focal_class.identifier: fetchGuest
focal_class.modifiers: private
focal_class.parameters: (URI link)
focal_class.return: void
focal_class.signature: void fetchGuest(URI link)
focal_method.body: String buildGuestUrl() {
          return format("http://%s/guest/rest/guest", determineGuestHostAndPort());
      }
focal_method.class_method_signature: GuestFeedSubscriber.buildGuestUrl()
focal_method.full_signature:  String buildGuestUrl()
focal_method.identifier: buildGuestUrl
focal_method.invocations: format determineGuestHostAndPort
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String buildGuestUrl()